CapersProject/Assets/02.Scripts/Ui/Popup/PopupUi.cs
2024-12-19 01:00:39 +09:00

32 lines
635 B
C#

using UnityEngine;
namespace BlueWater.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()
{
}
}
}