/// <summary> /// 注册接口 /// </summary> /// <param name="trigger"></param> protected override void OnRegisteGameLoopEvent(GameLoopTrigger trigger) { trigger.RegisteUpdate(OnUpdate, 0); }
protected override void DefineGameLoopInterfaces(GameLoopTrigger eventer) { eventer.RegisteUpdate(OnUpdate, 2); }
protected abstract void DefineGameLoopInterfaces(GameLoopTrigger eventer);
protected override void OnRegisteGameLoopEvent(GameLoopTrigger trigger) { }
protected abstract void OnRegisteGameLoopEvent(GameLoopTrigger trigger);