Commit 24081168 authored by LMZ's avatar LMZ

fix: 销毁处理

parent 30e048d9
No preview for this file type
...@@ -1670,5 +1670,12 @@ cc.Class({ ...@@ -1670,5 +1670,12 @@ cc.Class({
}); });
}, },
isDestroy: null,
onDestroy() {
this.isDestroy = true;
cc.Tween.stopAll();
}
}); });
{"ios":{"sceneName":"aks_01","version":"84818"},"android":{"sceneName":"aks_01","version":"84818"}} {"ios":{"sceneName":"aks_01","version":"1aac5"},"android":{"sceneName":"aks_01","version":"1aac5"}}
\ No newline at end of file \ No newline at end of file
This diff is collapsed.
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