Added Behavior Graph asset for AI simulations

This commit is contained in:
2026-04-28 18:33:07 +02:00
parent 8b1a42ed9d
commit 7e2030155c
34 changed files with 4361 additions and 8 deletions
+47 -4
View File
@@ -445,6 +445,7 @@ GameObject:
- component: {fileID: 879799800}
- component: {fileID: 879799799}
- component: {fileID: 879799803}
- component: {fileID: 879799804}
m_Layer: 0
m_Name: Enemy
m_TagString: Untagged
@@ -541,7 +542,7 @@ Transform:
m_GameObject: {fileID: 879799798}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.35355, y: 1.24748, z: -13.64645}
m_LocalPosition: {x: 0, y: 1, z: -13.64645}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@@ -554,12 +555,41 @@ MonoBehaviour:
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 879799798}
m_Enabled: 1
m_Enabled: 0
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: ae3ec7f7728d4494b82e7015fbd8acf1, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::AI.FSM.ChaseStateMachine
player: {fileID: 2134381953}
--- !u!114 &879799804
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 879799798}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f0038c16c34866b4f9e25c9c0dc0f7e6, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Behavior::Unity.Behavior.BehaviorGraphAgent
m_Graph: {fileID: -2555029180745471471, guid: 77326cb75314e4c4092027665fb93e3d, type: 2}
m_BlackboardVariableOverridesList:
- rid: 8576900529186144989
m_OriginalGraph: {fileID: -2555029180745471471, guid: 77326cb75314e4c4092027665fb93e3d, type: 2}
m_IsInitialised: 0
m_IsStarted: 0
references:
version: 2
RefIds:
- rid: 8576900529186144989
type: {class: 'BlackboardVariable`1[[UnityEngine.GameObject, UnityEngine.CoreModule]]', ns: Unity.Behavior, asm: Unity.Behavior}
data:
GUID:
m_Value0: 1
m_Value1: 0
Name: Agent
m_Value: {fileID: 879799798}
--- !u!1 &1484826168
GameObject:
m_ObjectHideFlags: 0
@@ -739,9 +769,10 @@ GameObject:
- component: {fileID: 2134381952}
- component: {fileID: 2134381951}
- component: {fileID: 2134381950}
- component: {fileID: 2134381954}
m_Layer: 0
m_Name: Player
m_TagString: Untagged
m_TagString: Player
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
@@ -835,12 +866,24 @@ Transform:
m_GameObject: {fileID: 2134381949}
serializedVersion: 2
m_LocalRotation: {x: -0, y: -1, z: -0, w: 0.00000058114523}
m_LocalPosition: {x: -29.14, y: 1.24748, z: 9.35}
m_LocalPosition: {x: 0, y: 1, z: 9.35}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: -180, z: 0}
--- !u!114 &2134381954
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2134381949}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: b1786c74662e44c5b7780327d5aab49c, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::DefaultNamespace.PlayerController
--- !u!1660057539 &9223372036854775807
SceneRoots:
m_ObjectHideFlags: 0