@galacean/effects-plugin-spine 2.7.3 → 2.8.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 +1 -1
- package/dist/alipay.js.map +1 -1
- package/dist/alipay.mjs +1 -1
- package/dist/alipay.mjs.map +1 -1
- package/dist/douyin.js +1 -1
- package/dist/douyin.js.map +1 -1
- package/dist/douyin.mjs +1 -1
- package/dist/douyin.mjs.map +1 -1
- package/dist/index.js +4 -5
- 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 +4 -5
- package/dist/index.mjs.map +1 -1
- package/dist/math/math.d.ts +0 -1
- package/dist/weapp.js +1 -1
- package/dist/weapp.js.map +1 -1
- package/dist/weapp.mjs +1 -1
- package/dist/weapp.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Description: Galacean Effects player spine plugin
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 十弦
|
|
6
|
-
* Version: v2.
|
|
6
|
+
* Version: v2.8.0-alpha.0
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
'use strict';
|
|
@@ -10842,7 +10842,7 @@ var SpineMesh = /*#__PURE__*/ function() {
|
|
|
10842
10842
|
return SpineMesh;
|
|
10843
10843
|
}();
|
|
10844
10844
|
function createShader(engine) {
|
|
10845
|
-
var env = engine.
|
|
10845
|
+
var env = engine.env;
|
|
10846
10846
|
var macros = [
|
|
10847
10847
|
[
|
|
10848
10848
|
"ENV_EDITOR",
|
|
@@ -11282,9 +11282,8 @@ exports.SpineComponent = /*#__PURE__*/ function(RendererComponent) {
|
|
|
11282
11282
|
return res;
|
|
11283
11283
|
};
|
|
11284
11284
|
_proto.getHitTestParams = function getHitTestParams(force) {
|
|
11285
|
-
var _this_engine_renderer;
|
|
11286
11285
|
var box = this.getBoundingBox();
|
|
11287
|
-
var env =
|
|
11286
|
+
var env = this.engine.env;
|
|
11288
11287
|
if (!box.area.length) {
|
|
11289
11288
|
return;
|
|
11290
11289
|
}
|
|
@@ -11558,7 +11557,7 @@ EFFECTS.registerPlugin("spine", /*#__PURE__*/ function(AbstractPlugin) {
|
|
|
11558
11557
|
}(EFFECTS.AbstractPlugin), EFFECTS.VFXItem);
|
|
11559
11558
|
/**
|
|
11560
11559
|
* 插件版本号
|
|
11561
|
-
*/ var version = "2.
|
|
11560
|
+
*/ var version = "2.8.0-alpha.0";
|
|
11562
11561
|
EFFECTS.logger.info("Plugin spine version: " + version + ".");
|
|
11563
11562
|
if (version !== EFFECTS__namespace.version) {
|
|
11564
11563
|
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!");
|