using System; using UnityEngine; namespace Jovian.PopupSystem { public interface IPopupSystem { void RegisterCategory(PopupCategory category, int priority = 0); void Show(PopupCategory category, Action buildContent, RectTransform anchor = null, AnchorSide? anchorSide = null); void ShowAtPosition(PopupCategory category, Action buildContent, Vector2 screenPosition); void Hide(PopupCategory category); void HideAll(); void Tick(float deltaTime); void Dispose(); } }