@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/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.7.3
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.renderer.env;
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 = (_this_engine_renderer = this.engine.renderer) == null ? void 0 : _this_engine_renderer.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.7.3";
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!");