feat(scaffold): PlaceE001 挂载 EnemyLocomotion,重生成 prefab
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -232,6 +232,7 @@ GameObject:
|
|||||||
- component: {fileID: 47111425058439551}
|
- component: {fileID: 47111425058439551}
|
||||||
- component: {fileID: 8798631432003224959}
|
- component: {fileID: 8798631432003224959}
|
||||||
- component: {fileID: 3225188436228842581}
|
- component: {fileID: 3225188436228842581}
|
||||||
|
- component: {fileID: 4638077627734011174}
|
||||||
- component: {fileID: 8800423420238451973}
|
- component: {fileID: 8800423420238451973}
|
||||||
m_Layer: 13
|
m_Layer: 13
|
||||||
m_Name: ENM_CaoZhi
|
m_Name: ENM_CaoZhi
|
||||||
@@ -249,7 +250,7 @@ Transform:
|
|||||||
m_GameObject: {fileID: 4060394683168505230}
|
m_GameObject: {fileID: 4060394683168505230}
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
m_LocalPosition: {x: -19.75632, y: 8.950914, z: 0}
|
m_LocalPosition: {x: -17.893652, y: 3.1365883, z: 0}
|
||||||
m_LocalScale: {x: 1, y: 1, z: 1}
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
||||||
m_ConstrainProportionsScale: 0
|
m_ConstrainProportionsScale: 0
|
||||||
m_Children:
|
m_Children:
|
||||||
@@ -562,6 +563,19 @@ MonoBehaviour:
|
|||||||
obstructLayer:
|
obstructLayer:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
m_Bits: 0
|
m_Bits: 0
|
||||||
|
--- !u!114 &4638077627734011174
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 4060394683168505230}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 9201463979893884288d3645a607eb90, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier:
|
||||||
|
_patrolStrategy: 0
|
||||||
--- !u!114 &8800423420238451973
|
--- !u!114 &8800423420238451973
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -696,7 +710,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 3621416060650874532}
|
- component: {fileID: 3621416060650874532}
|
||||||
- component: {fileID: 4224821075314171012}
|
- component: {fileID: 6286538159834431098}
|
||||||
- component: {fileID: 8468978500168207169}
|
- component: {fileID: 8468978500168207169}
|
||||||
- component: {fileID: 9135205194319985817}
|
- component: {fileID: 9135205194319985817}
|
||||||
m_Layer: 25
|
m_Layer: 25
|
||||||
@@ -721,7 +735,7 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1584616613766364365}
|
m_Father: {fileID: 1584616613766364365}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!58 &4224821075314171012
|
--- !u!58 &6286538159834431098
|
||||||
CircleCollider2D:
|
CircleCollider2D:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
@@ -846,7 +860,7 @@ GameObject:
|
|||||||
serializedVersion: 6
|
serializedVersion: 6
|
||||||
m_Component:
|
m_Component:
|
||||||
- component: {fileID: 8414909081001592724}
|
- component: {fileID: 8414909081001592724}
|
||||||
- component: {fileID: 669818646738819813}
|
- component: {fileID: 4942549498281190624}
|
||||||
- component: {fileID: 7843048500329562790}
|
- component: {fileID: 7843048500329562790}
|
||||||
m_Layer: 27
|
m_Layer: 27
|
||||||
m_Name: HurtBox
|
m_Name: HurtBox
|
||||||
@@ -870,7 +884,7 @@ Transform:
|
|||||||
m_Children: []
|
m_Children: []
|
||||||
m_Father: {fileID: 1584616613766364365}
|
m_Father: {fileID: 1584616613766364365}
|
||||||
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
||||||
--- !u!70 &669818646738819813
|
--- !u!70 &4942549498281190624
|
||||||
CapsuleCollider2D:
|
CapsuleCollider2D:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
m_CorrespondingSourceObject: {fileID: 0}
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
|||||||
@@ -214480,6 +214480,10 @@ PrefabInstance:
|
|||||||
serializedVersion: 3
|
serializedVersion: 3
|
||||||
m_TransformParent: {fileID: 0}
|
m_TransformParent: {fileID: 0}
|
||||||
m_Modifications:
|
m_Modifications:
|
||||||
|
- target: {fileID: 47111425058439551, guid: 69accaa6577ec1a4db552c3c31aa28d8, type: 3}
|
||||||
|
propertyPath: enabledFeatures
|
||||||
|
value: -1
|
||||||
|
objectReference: {fileID: 0}
|
||||||
- target: {fileID: 1584616613766364365, guid: 69accaa6577ec1a4db552c3c31aa28d8, type: 3}
|
- target: {fileID: 1584616613766364365, guid: 69accaa6577ec1a4db552c3c31aa28d8, type: 3}
|
||||||
propertyPath: m_LocalPosition.x
|
propertyPath: m_LocalPosition.x
|
||||||
value: -19.197
|
value: -19.197
|
||||||
|
|||||||
@@ -534,6 +534,8 @@ namespace BaseGames.Editor
|
|||||||
|
|
||||||
SetupPerceptionSystemSlots(sensorHub, new[] { "aggro", "los" }, report);
|
SetupPerceptionSystemSlots(sensorHub, new[] { "aggro", "los" }, report);
|
||||||
|
|
||||||
|
GetOrAddComponent<EnemyLocomotion>(go);
|
||||||
|
|
||||||
// BrainGraph AI:挂载决策组件并绑定定义 id(取代旧的 Opsive BehaviorTree)
|
// BrainGraph AI:挂载决策组件并绑定定义 id(取代旧的 Opsive BehaviorTree)
|
||||||
var brain = GetOrAddComponent<EnemyAiBrain>(go);
|
var brain = GetOrAddComponent<EnemyAiBrain>(go);
|
||||||
AssignString(brain, "_definitionId", "E001", report);
|
AssignString(brain, "_definitionId", "E001", report);
|
||||||
|
|||||||
Reference in New Issue
Block a user