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

17 lines
388 B
C#

using System.Collections.Generic;
using TMPro;
using UnityEngine;
namespace HK
{
public interface IUIManager
{
void LoadUI(string uiName, string assetPath);
IUI ShowUI(string uiName);
T GetUI<T>(string uiName) where T : UIBase;
bool HideUI(UIBase uiBase);
IUI ReturnPreviousUI();
IUI BackLast();
void CloseAll();
}
}