25 lines
444 B
C#
25 lines
444 B
C#
using UnityEngine;
|
|
|
|
namespace AibisDream
|
|
{
|
|
public class DialogPanel : MonoBehaviour, IUIPanel
|
|
{
|
|
#region UI面板功能
|
|
|
|
public bool IsOpen => gameObject.activeSelf;
|
|
public bool IsCloseable => false;
|
|
|
|
public void Show()
|
|
{
|
|
gameObject.SetActive(true);
|
|
}
|
|
|
|
public void Hide()
|
|
{
|
|
gameObject.SetActive(false);
|
|
}
|
|
|
|
#endregion
|
|
}
|
|
}
|