@galacean/engine 1.1.0-beta.29 → 1.1.0-beta.30
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/browser.js +17 -9
- package/dist/browser.min.js +1 -1
- package/dist/main.js +1 -1
- package/dist/miniprogram.js +1 -1
- package/dist/module.js +1 -1
- package/package.json +5 -5
package/dist/browser.js
CHANGED
|
@@ -7583,20 +7583,28 @@
|
|
|
7583
7583
|
this._enabled = value;
|
|
7584
7584
|
if (this._entity._isActiveInScene) {
|
|
7585
7585
|
if (value) {
|
|
7586
|
-
this._phasedActiveInScene
|
|
7587
|
-
|
|
7586
|
+
if (!this._phasedActiveInScene) {
|
|
7587
|
+
this._phasedActiveInScene = true;
|
|
7588
|
+
this._onEnableInScene();
|
|
7589
|
+
}
|
|
7588
7590
|
} else {
|
|
7589
|
-
this._phasedActiveInScene
|
|
7590
|
-
|
|
7591
|
+
if (this._phasedActiveInScene) {
|
|
7592
|
+
this._phasedActiveInScene = false;
|
|
7593
|
+
this._onDisableInScene();
|
|
7594
|
+
}
|
|
7591
7595
|
}
|
|
7592
7596
|
}
|
|
7593
7597
|
if (this._entity.isActiveInHierarchy) {
|
|
7594
7598
|
if (value) {
|
|
7595
|
-
this._phasedActive
|
|
7596
|
-
|
|
7599
|
+
if (!this._phasedActive) {
|
|
7600
|
+
this._phasedActive = true;
|
|
7601
|
+
this._onEnable();
|
|
7602
|
+
}
|
|
7597
7603
|
} else {
|
|
7598
|
-
this._phasedActive
|
|
7599
|
-
|
|
7604
|
+
if (this._phasedActive) {
|
|
7605
|
+
this._phasedActive = false;
|
|
7606
|
+
this._onDisable();
|
|
7607
|
+
}
|
|
7600
7608
|
}
|
|
7601
7609
|
}
|
|
7602
7610
|
}
|
|
@@ -43647,7 +43655,7 @@
|
|
|
43647
43655
|
], GALACEAN_animation_event);
|
|
43648
43656
|
|
|
43649
43657
|
//@ts-ignore
|
|
43650
|
-
var version = "1.1.0-beta.
|
|
43658
|
+
var version = "1.1.0-beta.30";
|
|
43651
43659
|
console.log("Galacean engine version: " + version);
|
|
43652
43660
|
for(var key in CoreObjects){
|
|
43653
43661
|
Loader.registerClass(key, CoreObjects[key]);
|