CapersProject/Assets/02.Scripts/BlueWater/Ui/Popup/PopupUi.cs
2025-02-10 11:13:46 +09:00

32 lines
629 B
C#

using UnityEngine;
namespace DDD.Uis
{
public class PopupUi : MonoBehaviour
{
public bool IsOpened { get; protected set; }
public bool IsPaused { get; protected set; }
public virtual void Open()
{
PopupUiController.RegisterPopup(this);
IsOpened = true;
}
public virtual void Close()
{
PopupUiController.UnregisterPopup(this);
IsOpened = false;
}
public virtual void EnableInput()
{
}
public virtual void DisableInput()
{
}
}
}