attach method

  1. @override
void attach(
  1. PipelineOwner owner
)
override

附加

Implementation

@override
void attach(PipelineOwner owner) {
  super.attach(owner);

  ///启动游戏循环
  this.gameLoop = DFGameLoop(gameUpdate);
  this.gameLoop?.start();

  ///绑定生命周期监听
  bindLifecycleListener();
}