AlicizaX/Client/Packages/com.alicizax.unity.ui/Runtime/UI/Base/Manager/IUIManager.cs
2025-01-24 16:21:00 +08:00

25 lines
787 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; }
UIWindow ShowUI(Type type, params System.Object[] userDatas);
UniTask<UIWindow> ShowUIAsync(Type type, params System.Object[] userDatas);
void CloseUI(Type type, bool force = false);
UIWindow GetUI(Type type);
protected internal void SetTimerManager(ITimerManager timerManager);
protected internal void SetResourceManager(IResourceManager resourceManager);
}
}