forked from Shardstone/trail-into-darkness
17 lines
619 B
C#
17 lines
619 B
C#
using System;
|
|
using UnityEngine;
|
|
|
|
namespace Jovian.PopupSystem {
|
|
public interface IPopupSystem {
|
|
void RegisterCategory(PopupCategory category, int priority = 0);
|
|
void Show(PopupCategory category, Action<PopupContentBuilder> buildContent,
|
|
RectTransform anchor = null, AnchorSide? anchorSide = null);
|
|
void ShowAtPosition(PopupCategory category, Action<PopupContentBuilder> buildContent,
|
|
Vector2 screenPosition);
|
|
void Hide(PopupCategory category);
|
|
void HideAll();
|
|
void Tick(float deltaTime);
|
|
void Dispose();
|
|
}
|
|
}
|