@galacean/effects-plugin-spine 2.0.2 → 2.1.0-alpha.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/alipay.js CHANGED
@@ -11123,8 +11123,8 @@ exports.SpineComponent = /*#__PURE__*/ function(RendererComponent) {
11123
11123
  this.cache.editorResourceID = editorResourceID;
11124
11124
  }
11125
11125
  };
11126
- _proto.start = function start() {
11127
- RendererComponent.prototype.start.call(this);
11126
+ _proto.onStart = function onStart() {
11127
+ RendererComponent.prototype.onStart.call(this);
11128
11128
  if (!this.cache) {
11129
11129
  return;
11130
11130
  }
@@ -11137,10 +11137,10 @@ exports.SpineComponent = /*#__PURE__*/ function(RendererComponent) {
11137
11137
  return;
11138
11138
  }
11139
11139
  this.state.apply(this.skeleton);
11140
- this.update(0);
11140
+ this.onUpdate(0);
11141
11141
  this.resize();
11142
11142
  };
11143
- _proto.update = function update(dt) {
11143
+ _proto.onUpdate = function onUpdate(dt) {
11144
11144
  if (!(this.state && this.skeleton)) {
11145
11145
  return;
11146
11146
  }
@@ -11507,7 +11507,7 @@ EFFECTS.registerPlugin("spine", /*#__PURE__*/ function(AbstractPlugin) {
11507
11507
  }
11508
11508
  return SpineLoader;
11509
11509
  }(EFFECTS.AbstractPlugin), EFFECTS.VFXItem);
11510
- var version = "2.0.2";
11510
+ var version = "2.1.0-alpha.0";
11511
11511
  EFFECTS.logger.info("Plugin spine version: " + version + ".");
11512
11512
  if (version !== EFFECTS__namespace.version) {
11513
11513
  console.error("注意:请统一 Spine 插件与 Player 版本,不统一的版本混用会有不可预知的后果!", "\nAttention: Please ensure the Spine plugin is synchronized with the Player version. Mixing and matching incompatible versions may result in unpredictable consequences!");