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() { } } }