@galacean/effects-core 2.0.0-beta.2 → 2.0.1

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.js CHANGED
@@ -3,7 +3,7 @@
3
3
  * Description: Galacean Effects runtime core for the web
4
4
  * Author: Ant Group CO., Ltd.
5
5
  * Contributors: 燃然,飂兮,十弦,云垣,茂安,意绮
6
- * Version: v2.0.0-beta.2
6
+ * Version: v2.0.1
7
7
  */
8
8
 
9
9
  'use strict';
@@ -14074,6 +14074,9 @@ exports.SpriteComponent = /*#__PURE__*/ function(RendererComponent) {
14074
14074
  };
14075
14075
  _proto.start = function start() {
14076
14076
  this.item.getHitTestParams = this.getHitTestParams;
14077
+ if (this.item.endBehavior === EndBehavior.restart) {
14078
+ this.frameAnimationLoop = true;
14079
+ }
14077
14080
  };
14078
14081
  _proto.update = function update(dt) {
14079
14082
  this.frameAnimationTime += dt / 1000;
@@ -27686,7 +27689,7 @@ registerPlugin("sprite", SpriteLoader, exports.VFXItem, true);
27686
27689
  registerPlugin("particle", ParticleLoader, exports.VFXItem, true);
27687
27690
  registerPlugin("cal", CalculateLoader, exports.VFXItem, true);
27688
27691
  registerPlugin("interact", InteractLoader, exports.VFXItem, true);
27689
- var version = "2.0.0-beta.2";
27692
+ var version = "2.0.1";
27690
27693
  logger.info("Core version: " + version + ".");
27691
27694
 
27692
27695
  exports.AbstractPlugin = AbstractPlugin;