This repository has been archived on 2026-01-20. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Frontec/Assets/Unity UI Samples/Scripts/ActiveStateToggler.cs
jmaniuvc 2936c48466 Frontec
2025-02-24 12:12:52 +09:00

10 lines
185 B
C#

using UnityEngine;
using System.Collections;
public class ActiveStateToggler : MonoBehaviour {
public void ToggleActive () {
gameObject.SetActive (!gameObject.activeSelf);
}
}