Framework_YooAsset_HybridCLR/Assets/DemoGame/GameScript/Hotfix/UI/IUIManager.cs

22 lines
416 B
C#
Raw Normal View History

2024-07-19 10:51:48 +08:00
using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace ZC
{
public interface IUIManager
{
TMP_FontAsset font { get; set; }
IUI CreateUI(UIType uiType, string path, UILayer uiLayer);
IUI ShowUI(UIType uiType);
T GetUI<T>(UIType uiType) where T : UIBase;
bool HideUI(UIType uiType);
IUI CloseLast();
void CloseAll();
}
}