Commit 21f8ebae authored by liujiangnan's avatar liujiangnan

feat

parent 59e18a22
......@@ -64,13 +64,13 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
onLoadEnd() {
// cc.macro.ENABLE_MULTI_TOUCH = false;
// // TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
// this.initData();
// this.initView();
// this.initEvent();
// this.startTime();
// this.updateTop();
cc.macro.ENABLE_MULTI_TOUCH = false;
// TODO 加载完成后的逻辑写在这里, 下面的代码仅供参考
this.initData();
this.initView();
this.initEvent();
this.startTime();
this.updateTop();
}
protected onDestroy(): void {
cc.Tween.stopAll();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment