Frame/Assets/Scripts/UI/IUIManager.cs

19 lines
316 B
C#
Raw Normal View History

2024-04-02 18:17:57 +08:00
using System.Collections.Generic;
namespace Game
{
public interface IUIManager
{
IUI CreateUI(UIType uiType);
2024-04-03 14:38:44 +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();
}
}