diff --git a/Assets/TEngine/Runtime/GameFramework/UI/IUIBehaviour.cs b/Assets/TEngine/Runtime/GameFramework/UI/IUIBehaviour.cs index 12a61c2f..b580cfa3 100644 --- a/Assets/TEngine/Runtime/GameFramework/UI/IUIBehaviour.cs +++ b/Assets/TEngine/Runtime/GameFramework/UI/IUIBehaviour.cs @@ -5,12 +5,40 @@ /// public interface IUIBehaviour { + /// + /// 自动生成代码绑定。 + /// void ScriptGenerator(); + + /// + /// 绑定自定义UI元素。 + /// void BindMemberProperty(); + + /// + /// 注册UI事件。 + /// 方法=>AddUIEvent 在面板Destroy的时候会自动移除监听。 + /// void RegisterEvent(); + + /// + /// 面板创建成功。 + /// void OnCreate(); + + /// + /// 面板刷新。 + /// void OnRefresh(); + + /// + /// 面板轮询。 + /// void OnUpdate(); + + /// + /// 面板销毁。 + /// void OnDestroy(); } } \ No newline at end of file