@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 +5 -5
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +5 -5
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +5 -5
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +5 -5
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +2 -2
- package/dist/index.min.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/dist/slot-group.d.ts +1 -7
- package/dist/spine-component.d.ts +2 -2
- package/dist/weapp.js +5 -5
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +5 -5
- package/dist/weapp.mjs.map +1 -1
- package/package.json +2 -2
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.
|
|
11127
|
-
RendererComponent.prototype.
|
|
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.
|
|
11140
|
+
this.onUpdate(0);
|
|
11141
11141
|
this.resize();
|
|
11142
11142
|
};
|
|
11143
|
-
_proto.
|
|
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.
|
|
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!");
|