using UnityEngine; using System; namespace ZXKFramework { public interface IUIManager { void Init(GameObject canvas, string uiDirPath); void SetResType(IRes res); void AddUI(Action callBack = null) where T : UIBase; void ShowUI(Action callBack = null, params object[] obj) where T : UIBase; void ShowUIAndCloseOther(Action callBack = null, params object[] obj) where T : UIBase; void CloseUI() where T : UIBase; T GetUI() where T : UIBase; void CloseGroup(string parentName); void CloseGroup(); void Clean(); void OnUpdate(); void Destroy(); } }