2025-04-26 21:05:13 +08:00
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
|
|
namespace HK
|
|
|
|
|
{
|
|
|
|
|
public interface IUI
|
|
|
|
|
{
|
|
|
|
|
bool isPause { get; }
|
|
|
|
|
bool isActive { get; }
|
|
|
|
|
Transform self { get; }
|
|
|
|
|
GameObjectBinding uiGameObjectBinding { get; }
|
|
|
|
|
|
|
|
|
|
void OnInit();
|
2025-08-20 11:14:21 +08:00
|
|
|
|
void OnOpen(UIBase lastUI=null);
|
2025-04-26 21:05:13 +08:00
|
|
|
|
void OnUpdate(float dateTime);
|
|
|
|
|
void OnClose();
|
|
|
|
|
void OnPause();
|
|
|
|
|
void OnResume();
|
|
|
|
|
void OnDispose();
|
|
|
|
|
}
|
|
|
|
|
}
|