2024-10-24 16:16:57 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using TMPro;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace ZC
|
|
|
|
|
{
|
|
|
|
|
public interface IUIManager
|
|
|
|
|
{
|
|
|
|
|
TMP_FontAsset font { get; set; }
|
2024-11-08 17:25:44 +08:00
|
|
|
|
T CreateUI<T>(UIType uiType, string path, UILayer uiLayer) where T : UIBase;
|
|
|
|
|
void DeleteUI(UIType uiType);
|
2024-10-24 16:16:57 +08:00
|
|
|
|
|
2024-12-01 23:23:44 +08:00
|
|
|
|
IUI ShowOnlyUI(UIType uiType);
|
2024-10-24 16:16:57 +08:00
|
|
|
|
IUI ShowUI(UIType uiType);
|
|
|
|
|
|
|
|
|
|
T GetUI<T>(UIType uiType) where T : UIBase;
|
|
|
|
|
|
|
|
|
|
bool HideUI(UIType uiType);
|
|
|
|
|
|
|
|
|
|
IUI CloseLast();
|
|
|
|
|
|
|
|
|
|
void CloseAll();
|
|
|
|
|
}
|
|
|
|
|
}
|