1234567891011121314151617181920 |
- using XGame.Framework.Components;
- namespace XGame.Framework.Nodes
- {
- /// <summary>
- /// Node业务接口
- /// 有刷新需求的业务需要实现IUpdate或者ILateUpdate
- /// 有加载需求的业务需要实现ILoadAsyncHandle
- /// </summary>
- public interface INodeComponent : IComponent
- {
- /// <summary>
- /// 激活回调事件
- /// </summary>
- /// <param name="intent">透传参数</param>
- void OnEnable(object intent);
- void OnDisable();
- }
- }
|