lythreeframe 1.1.18 → 1.1.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/bundle.cjs.js
CHANGED
|
@@ -2719,9 +2719,15 @@ class LevelActor extends Actor {
|
|
|
2719
2719
|
this.isTickEnabled = false;
|
|
2720
2720
|
}
|
|
2721
2721
|
tick(_deltaTime) {
|
|
2722
|
-
|
|
2722
|
+
if (!this.isTickEnabled) {
|
|
2723
|
+
return;
|
|
2724
|
+
}
|
|
2725
|
+
super.tick(_deltaTime);
|
|
2723
2726
|
}
|
|
2724
2727
|
destroy() {
|
|
2728
|
+
this.clearLevel();
|
|
2729
|
+
}
|
|
2730
|
+
clearLevel() {
|
|
2725
2731
|
this.childActors.forEach((elem) => {
|
|
2726
2732
|
elem.destroy();
|
|
2727
2733
|
});
|
package/dist/bundle.esm.js
CHANGED
|
@@ -2717,9 +2717,15 @@ class LevelActor extends Actor {
|
|
|
2717
2717
|
this.isTickEnabled = false;
|
|
2718
2718
|
}
|
|
2719
2719
|
tick(_deltaTime) {
|
|
2720
|
-
|
|
2720
|
+
if (!this.isTickEnabled) {
|
|
2721
|
+
return;
|
|
2722
|
+
}
|
|
2723
|
+
super.tick(_deltaTime);
|
|
2721
2724
|
}
|
|
2722
2725
|
destroy() {
|
|
2726
|
+
this.clearLevel();
|
|
2727
|
+
}
|
|
2728
|
+
clearLevel() {
|
|
2723
2729
|
this.childActors.forEach((elem) => {
|
|
2724
2730
|
elem.destroy();
|
|
2725
2731
|
});
|