feat(enemy): AiStateFragments 建态原语,新增 AbilityOnce 修死亡态重触发隐患

从 PerceptionStateMachine 的 private static 辅助方法提升为公开原语,供后续
模块化重构(骨架+可插拔模块)与定制 AiScript 复用。新增 AbilityOnce:
只在进入时触发能力、不每帧重触发,修复用 Ability() 驱动死亡态时演出播完
被 Tick 无限重播的隐患(现有 PerceptionStateMachine 因 E001 死亡能力 id
为空未暴露,本次不改它,留待 T11 整体退役)。
This commit is contained in:
2026-07-29 11:35:47 +08:00
parent 084354fa6c
commit 77a32cbf8a
6 changed files with 161 additions and 2 deletions
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 6cdc72e828f0c274bba9eef075274c90
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant: