Frame/Assets/Scripts/UI/IUIManager.cs

22 lines
422 B
C#

using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace Game
{
public interface IUIManager
{
TMP_FontAsset font { get; set; }
IUI CreateUI(UIType uiType, string location, UILayer uiLayer);
IUI ShowUI(UIType uiType);
T GetUI<T>(UIType uiType) where T : UIBase;
bool HideUI(UIType uiType);
IUI CloseLast();
void CloseAll();
}
}