attach method
附加
Implementation
@override
void attach(PipelineOwner owner) {
super.attach(owner);
///启动游戏循环
this.gameLoop = DFGameLoop(gameUpdate);
this.gameLoop?.start();
///绑定生命周期监听
bindLifecycleListener();
}
附加
@override
void attach(PipelineOwner owner) {
super.attach(owner);
///启动游戏循环
this.gameLoop = DFGameLoop(gameUpdate);
this.gameLoop?.start();
///绑定生命周期监听
bindLifecycleListener();
}