feat(scaffold): PlaceE001 挂载 EnemyLocomotion,重生成 prefab
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user