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