@galacean/engine-core 0.0.0-experimental-double11.2 → 0.0.0-experimental-double11.3
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 -2
- package/dist/main.js.map +1 -1
- package/dist/miniprogram.js +3 -2
- package/dist/module.js +3 -2
- package/dist/module.js.map +1 -1
- package/package.json +3 -3
- package/types/physics/PhysicsMaterial.d.ts +1 -0
package/dist/miniprogram.js
CHANGED
|
@@ -14174,7 +14174,8 @@ var Collision = function Collision() {
|
|
|
14174
14174
|
/**
|
|
14175
14175
|
* @internal
|
|
14176
14176
|
*/ _proto._destroy = function _destroy() {
|
|
14177
|
-
this._nativeMaterial.destroy();
|
|
14177
|
+
!this._destroyed && this._nativeMaterial.destroy();
|
|
14178
|
+
this._destroyed = true;
|
|
14178
14179
|
};
|
|
14179
14180
|
_create_class(PhysicsMaterial, [
|
|
14180
14181
|
{
|
|
@@ -14723,7 +14724,6 @@ __decorate([
|
|
|
14723
14724
|
ignoreClone
|
|
14724
14725
|
], BoxColliderShape.prototype, "_size", void 0);
|
|
14725
14726
|
|
|
14726
|
-
console.log("Hello, world!");
|
|
14727
14727
|
/**
|
|
14728
14728
|
* Physical collider shape for sphere.
|
|
14729
14729
|
*/ var SphereColliderShape = /*#__PURE__*/ function(ColliderShape) {
|
|
@@ -24972,6 +24972,7 @@ exports.AnimatorLayerBlendingMode = void 0;
|
|
|
24972
24972
|
var state = playState.state;
|
|
24973
24973
|
var clipDuration = state.clip.length;
|
|
24974
24974
|
if (this.speed * state.speed >= 0) {
|
|
24975
|
+
console.log(999, clipTime, lastClipTime);
|
|
24975
24976
|
if (clipTime < lastClipTime) {
|
|
24976
24977
|
this._checkSubTransition(playState, transitions, layerIndex, lastClipTime, state.clipEndTime * clipDuration);
|
|
24977
24978
|
playState.currentTransitionIndex = 0;
|
package/dist/module.js
CHANGED
|
@@ -14169,7 +14169,8 @@ var Collision = function Collision() {
|
|
|
14169
14169
|
/**
|
|
14170
14170
|
* @internal
|
|
14171
14171
|
*/ _proto._destroy = function _destroy() {
|
|
14172
|
-
this._nativeMaterial.destroy();
|
|
14172
|
+
!this._destroyed && this._nativeMaterial.destroy();
|
|
14173
|
+
this._destroyed = true;
|
|
14173
14174
|
};
|
|
14174
14175
|
_create_class(PhysicsMaterial, [
|
|
14175
14176
|
{
|
|
@@ -14718,7 +14719,6 @@ __decorate([
|
|
|
14718
14719
|
ignoreClone
|
|
14719
14720
|
], BoxColliderShape.prototype, "_size", void 0);
|
|
14720
14721
|
|
|
14721
|
-
console.log("Hello, world!");
|
|
14722
14722
|
/**
|
|
14723
14723
|
* Physical collider shape for sphere.
|
|
14724
14724
|
*/ var SphereColliderShape = /*#__PURE__*/ function(ColliderShape) {
|
|
@@ -24967,6 +24967,7 @@ var AnimatorLayerBlendingMode;
|
|
|
24967
24967
|
var state = playState.state;
|
|
24968
24968
|
var clipDuration = state.clip.length;
|
|
24969
24969
|
if (this.speed * state.speed >= 0) {
|
|
24970
|
+
console.log(999, clipTime, lastClipTime);
|
|
24970
24971
|
if (clipTime < lastClipTime) {
|
|
24971
24972
|
this._checkSubTransition(playState, transitions, layerIndex, lastClipTime, state.clipEndTime * clipDuration);
|
|
24972
24973
|
playState.currentTransitionIndex = 0;
|