Commit a6f8cc55 authored by Chen Jiping's avatar Chen Jiping

feat:停止

parent 22ac4079
......@@ -83,6 +83,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.initView();
}
protected onDestroy(): void {
cc.Tween.stopAll();
}
_cantouch = null;
initData() {
// 所有全局变量 默认都是null
......
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