24 lines
695 B
C#
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);
|
|
}
|
|
}
|