@galacean/effects-plugin-editor-gizmo 2.1.5 → 2.2.0

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/index.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects player editor gizmo plugin
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 茂安,旻诺
6
- * Version: v2.1.5
6
+ * Version: v2.2.0
7
7
  */
8
8
 
9
9
  'use strict';
@@ -137,12 +137,8 @@ function __generator(thisArg, body) {
137
137
  },
138
138
  trys: [],
139
139
  ops: []
140
- }, f, y, t, g;
141
- return g = {
142
- next: verb(0),
143
- "throw": verb(1),
144
- "return": verb(2)
145
- }, typeof Symbol === "function" && (g[Symbol.iterator] = function() {
140
+ }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype);
141
+ return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() {
146
142
  return this;
147
143
  }), g;
148
144
  function verb(n) {
@@ -3713,7 +3709,7 @@ var EditorGizmoPlugin = /*#__PURE__*/ function(AbstractPlugin) {
3713
3709
  EFFECTS.registerPlugin("editor-gizmo", EditorGizmoPlugin, EFFECTS.VFXItem);
3714
3710
  /**
3715
3711
  * 插件版本号
3716
- */ var version = "2.1.5";
3712
+ */ var version = "2.2.0";
3717
3713
  EFFECTS.logger.info("Plugin editor gizmo version: " + version + ".");
3718
3714
  if (version !== EFFECTS__namespace.version) {
3719
3715
  console.error("注意:请统一 Editor Gizmo 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Editor Gizmo plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");