@galacean/engine-core 0.0.0-experimental-double11.1 → 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.
@@ -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) {
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) {