feat(scaffold): PlaceE001 挂载 EnemyLocomotion,重生成 prefab

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-07-10 12:10:29 +08:00
co-authored by Claude Opus 4.8
parent 8c1a8647bb
commit f143efe4a3
3 changed files with 25 additions and 5 deletions
@@ -534,6 +534,8 @@ namespace BaseGames.Editor
SetupPerceptionSystemSlots(sensorHub, new[] { "aggro", "los" }, report);
GetOrAddComponent<EnemyLocomotion>(go);
// BrainGraph AI:挂载决策组件并绑定定义 id(取代旧的 Opsive BehaviorTree
var brain = GetOrAddComponent<EnemyAiBrain>(go);
AssignString(brain, "_definitionId", "E001", report);