using System.Collections; using System.Collections.Generic; using UnityEngine; public class DebugPanel : MonoBehaviour { public static DebugPanel Ins { get; private set; } public void Awake() { Ins = this; Hide(); } public void Show() { gameObject.SetActive(true); } public void Hide() { gameObject.SetActive(false); } }