8b352b42d36b46f1f4735c17d3ad1b3dc4366737.js 966 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. System.register(["cc"], function (_export, _context) {
  2. "use strict";
  3. var _cclegacy, AnimatorStateLogic, _crd;
  4. _export("AnimatorStateLogic", void 0);
  5. return {
  6. setters: [function (_cc) {
  7. _cclegacy = _cc.cclegacy;
  8. }],
  9. execute: function () {
  10. _crd = true;
  11. _cclegacy._RF.push({}, "b06fbd3UdNKvooAUeDi9UTc", "AnimatorStateLogic", undefined);
  12. /**
  13. * 状态逻辑基类
  14. */
  15. _export("AnimatorStateLogic", AnimatorStateLogic = class AnimatorStateLogic {
  16. /**
  17. * 进入状态时调用
  18. * @virtual
  19. */
  20. onEntry() {}
  21. /**
  22. * 每次状态机逻辑更新时调用
  23. * @virtual
  24. */
  25. onUpdate() {}
  26. /**
  27. * 离开状态时调用
  28. * @virtual
  29. */
  30. onExit() {}
  31. });
  32. _cclegacy._RF.pop();
  33. _crd = false;
  34. }
  35. };
  36. });
  37. //# sourceMappingURL=8b352b42d36b46f1f4735c17d3ad1b3dc4366737.js.map