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

24 lines
511 B
C#

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