@galacean/effects-plugin-spine 2.8.0-alpha.1 → 2.8.0-alpha.2
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 +5 -4
- 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 -5
- package/dist/index.mjs.map +1 -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,11 +3,11 @@
|
|
|
3
3
|
* Description: Galacean Effects player spine plugin
|
|
4
4
|
* Author: Ant Group CO., Ltd.
|
|
5
5
|
* Contributors: 十弦
|
|
6
|
-
* Version: v2.8.0-alpha.
|
|
6
|
+
* Version: v2.8.0-alpha.2
|
|
7
7
|
*/
|
|
8
8
|
|
|
9
9
|
import * as EFFECTS from '@galacean/effects';
|
|
10
|
-
import { assertExist, glContext, Mesh, Geometry, Material, setMaskMode, GLSLVersion, PLAYER_OPTIONS_ENV_EDITOR, math, serialize, effectsClass, spec,
|
|
10
|
+
import { assertExist, glContext, Mesh, Geometry, Material, setMaskMode, GLSLVersion, PLAYER_OPTIONS_ENV_EDITOR, math, serialize, effectsClass, spec, MaskMode, HitTestType, RendererComponent, MaskProcessor, registerPlugin, logger, AbstractPlugin } from '@galacean/effects';
|
|
11
11
|
|
|
12
12
|
function _set_prototype_of(o, p) {
|
|
13
13
|
_set_prototype_of = Object.setPrototypeOf || function setPrototypeOf(o, p) {
|
|
@@ -11525,16 +11525,17 @@ SpineComponent = __decorate([
|
|
|
11525
11525
|
effectsClass(spec.DataType.SpineComponent)
|
|
11526
11526
|
], SpineComponent);
|
|
11527
11527
|
|
|
11528
|
-
|
|
11528
|
+
var SpineLoader = /*#__PURE__*/ function(AbstractPlugin) {
|
|
11529
11529
|
_inherits(SpineLoader, AbstractPlugin);
|
|
11530
11530
|
function SpineLoader() {
|
|
11531
11531
|
return AbstractPlugin.apply(this, arguments);
|
|
11532
11532
|
}
|
|
11533
11533
|
return SpineLoader;
|
|
11534
|
-
}(AbstractPlugin)
|
|
11534
|
+
}(AbstractPlugin);
|
|
11535
|
+
registerPlugin("spine", SpineLoader);
|
|
11535
11536
|
/**
|
|
11536
11537
|
* 插件版本号
|
|
11537
|
-
*/ var version = "2.8.0-alpha.
|
|
11538
|
+
*/ var version = "2.8.0-alpha.2";
|
|
11538
11539
|
logger.info("Plugin spine version: " + version + ".");
|
|
11539
11540
|
if (version !== EFFECTS.version) {
|
|
11540
11541
|
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!");
|