Files
XMen/Assets/Scripts/UI/DebugPanel.cs
2025-07-10 14:49:53 +08:00

25 lines
397 B
C#

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);
}
}