@galacean/engine-core 1.4.0-beta.0 → 1.4.0-beta.2
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/main.js +3 -9
- package/dist/main.js.map +1 -1
- package/dist/module.js +3 -9
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
package/dist/module.js
CHANGED
|
@@ -30131,11 +30131,7 @@ function _type_of(obj) {
|
|
|
30131
30131
|
if (transition.mute) continue;
|
|
30132
30132
|
if (transitionCollection.isSoloMode && !transition.solo) continue;
|
|
30133
30133
|
if (this._checkConditions(transition)) {
|
|
30134
|
-
|
|
30135
|
-
return transition;
|
|
30136
|
-
} else {
|
|
30137
|
-
return null;
|
|
30138
|
-
}
|
|
30134
|
+
return this._applyTransition(layerData, transition, aniUpdate);
|
|
30139
30135
|
}
|
|
30140
30136
|
}
|
|
30141
30137
|
};
|
|
@@ -30155,13 +30151,11 @@ function _type_of(obj) {
|
|
|
30155
30151
|
return true;
|
|
30156
30152
|
};
|
|
30157
30153
|
_proto._applyTransition = function _applyTransition(layerData, transition, aniUpdate) {
|
|
30158
|
-
// Need prepare first, it should crossFade when to exit
|
|
30159
|
-
var success = this._prepareCrossFadeByTransition(transition, layerData.layerIndex);
|
|
30160
30154
|
if (transition.isExit) {
|
|
30161
30155
|
this._checkAnyAndEntryState(layerData, 0, aniUpdate);
|
|
30162
|
-
return
|
|
30156
|
+
return null;
|
|
30163
30157
|
}
|
|
30164
|
-
return
|
|
30158
|
+
return this._prepareCrossFadeByTransition(transition, layerData.layerIndex) ? transition : null;
|
|
30165
30159
|
};
|
|
30166
30160
|
_proto._checkConditions = function _checkConditions(transition) {
|
|
30167
30161
|
var conditions = transition.conditions;
|