@galacean/effects-plugin-spine 2.7.4 → 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.mjs
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
|
import * as EFFECTS from '@galacean/effects';
|
|
@@ -10819,7 +10819,7 @@ var SpineMesh = /*#__PURE__*/ function() {
|
|
|
10819
10819
|
return SpineMesh;
|
|
10820
10820
|
}();
|
|
10821
10821
|
function createShader(engine) {
|
|
10822
|
-
var env = engine.
|
|
10822
|
+
var env = engine.env;
|
|
10823
10823
|
var macros = [
|
|
10824
10824
|
[
|
|
10825
10825
|
"ENV_EDITOR",
|
|
@@ -11259,9 +11259,8 @@ var SpineComponent = /*#__PURE__*/ function(RendererComponent) {
|
|
|
11259
11259
|
return res;
|
|
11260
11260
|
};
|
|
11261
11261
|
_proto.getHitTestParams = function getHitTestParams(force) {
|
|
11262
|
-
var _this_engine_renderer;
|
|
11263
11262
|
var box = this.getBoundingBox();
|
|
11264
|
-
var env =
|
|
11263
|
+
var env = this.engine.env;
|
|
11265
11264
|
if (!box.area.length) {
|
|
11266
11265
|
return;
|
|
11267
11266
|
}
|
|
@@ -11535,7 +11534,7 @@ registerPlugin("spine", /*#__PURE__*/ function(AbstractPlugin) {
|
|
|
11535
11534
|
}(AbstractPlugin), VFXItem);
|
|
11536
11535
|
/**
|
|
11537
11536
|
* 插件版本号
|
|
11538
|
-
*/ var version = "2.
|
|
11537
|
+
*/ var version = "2.8.0-alpha.0";
|
|
11539
11538
|
logger.info("Plugin spine version: " + version + ".");
|
|
11540
11539
|
if (version !== EFFECTS.version) {
|
|
11541
11540
|
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!");
|