AlicizaX/Client/Packages/com.alicizax.unity.ui/Runtime/UI/Manager/IUIManager.cs
2025-03-04 18:40:14 +08:00

24 lines
695 B
C#

using System;
using AlicizaX.Resource.Runtime;
using AlicizaX.Runtime;
using AlicizaX.Timer.Runtime;
using Cysharp.Threading.Tasks;
using UnityEngine;
namespace AlicizaX.UI.Runtime
{
public interface IUIManager : IModule, IModuleUpdate
{
void Initlize(Transform root);
Camera UICamera { get; set; }
Transform UICanvasRoot { get; set; }
UIBase ShowUI(Type type, params System.Object[] userDatas);
UniTask<UIBase> ShowUIAsync(Type type, params System.Object[] userDatas);
void CloseUI(Type type, bool force = false);
UIBase GetUI(Type type);
protected internal void SetTimerManager(ITimerManager timerManager);
}
}