FM/Assets/Scripts/Base/UI/IUIManager.cs

16 lines
357 B
C#
Raw Normal View History

2025-04-26 21:05:13 +08:00
using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace HK
{
public interface IUIManager
{
2025-06-17 09:31:12 +08:00
void LoadUI(string uiName, string assetPath);
IUI ShowUI(string uiName);
2025-04-26 21:05:13 +08:00
T GetUI<T>(string uiName) where T : UIBase;
bool HideUI(UIBase uiBase);
IUI CloseLast();
void CloseAll();
}
}