forked from zxl/Frame
1
0
Fork 0
Frame/Assets/Scripts/UI/IUIManager.cs

22 lines
405 B
C#
Raw Normal View History

2024-04-02 18:17:57 +08:00
using System.Collections.Generic;
2024-04-08 18:44:01 +08:00
using TMPro;
using UnityEngine;
2024-04-02 18:17:57 +08:00
namespace Game
{
public interface IUIManager
{
2024-04-08 18:44:01 +08:00
TMP_FontAsset font { get; set; }
IUI CreateUI(UIType uiType, UILayer uiLayer);
2024-04-02 18:17:57 +08:00
IUI ShowUI(UIType uiType);
2024-04-02 18:17:57 +08:00
T GetUI<T>(UIType uiType) where T : UIBase;
2024-04-03 14:38:44 +08:00
bool HideUI(UIType uiType);
2024-04-02 18:17:57 +08:00
IUI CloseLast();
void CloseAll();
}
}