HAARFTE/Assets/DemoGame/GameScript/Hotfix/UI/IUIManager.cs

22 lines
416 B
C#

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