2025-01-24 16:21:00 +08:00
|
|
|
|
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; }
|
2025-03-11 21:03:30 +08:00
|
|
|
|
UIBase ShowUI(UIMetadata meta, params System.Object[] userDatas);
|
2025-01-24 16:21:00 +08:00
|
|
|
|
|
2025-03-11 21:03:30 +08:00
|
|
|
|
UniTask<UIBase> ShowUIAsync(UIMetadata meta, params System.Object[] userDatas);
|
|
|
|
|
|
void CloseUI(UIMetadata meta, bool force = false);
|
|
|
|
|
|
UIBase GetUI(UIMetadata meta);
|
2025-01-24 16:21:00 +08:00
|
|
|
|
|
|
|
|
|
|
protected internal void SetTimerManager(ITimerManager timerManager);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|