몬스터 이동 AI

- 코어로의 경로가 막혀있을 경우 장애물을 파괴하여 경로 확보

몬스터를 소환하는 EnemyPortal 생성
This commit is contained in:
2026-01-29 14:39:10 +09:00
parent 3779ea9f3b
commit ada6aae8bc
16 changed files with 1201 additions and 513 deletions

View File

@@ -9,7 +9,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 9184257640407244267}
m_Layer: 0
m_Layer: 9
m_Name: FrontExitPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
@@ -40,7 +40,7 @@ GameObject:
serializedVersion: 6
m_Component:
- component: {fileID: 1475778514072803484}
m_Layer: 0
m_Layer: 9
m_Name: BackExitPoint
m_TagString: Untagged
m_Icon: {fileID: 0}
@@ -78,8 +78,7 @@ GameObject:
- component: {fileID: 6336968390548483685}
- component: {fileID: 1893682255695519596}
- component: {fileID: 2622677457934171119}
- component: {fileID: 2624539771375861302}
m_Layer: 0
m_Layer: 9
m_Name: Gate
m_TagString: Untagged
m_Icon: {fileID: 0}
@@ -137,7 +136,7 @@ NavMeshObstacle:
m_Shape: 1
m_Extents: {x: 4, y: 4, z: 1.5}
m_MoveThreshold: 0.1
m_Carve: 0
m_Carve: 1
m_CarveOnlyStationary: 1
m_Center: {x: 0, y: 0, z: 0}
m_TimeToStationary: 0.5
@@ -205,7 +204,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Northbound.Building
ShowTopMostFoldoutHeaderGroup: 1
buildingData: {fileID: 0}
buildingData: {fileID: 11400000, guid: 0e495d169ee3bce449f4b1aea83d6818, type: 2}
gridPosition: {x: 0, y: 0, z: 0}
rotation: 0
initialTeam: 1
@@ -260,31 +259,6 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 8, y: 8, z: 1}
m_Center: {x: 0, y: 0, z: 2}
--- !u!114 &2624539771375861302
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2998551506809628252}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 6eeb5dc026fdf4b488bc7ae0138ab719, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.AI.Navigation::Unity.AI.Navigation.NavMeshLink
m_SerializedVersion: 1
m_AgentTypeID: 0
m_StartPoint: {x: 0, y: 0, z: -2.5}
m_EndPoint: {x: 0, y: 0, z: 2.5}
m_StartTransform: {fileID: 0}
m_EndTransform: {fileID: 0}
m_Activated: 1
m_Width: 0
m_CostModifier: 1
m_IsOverridingCost: 0
m_Bidirectional: 1
m_AutoUpdatePosition: 0
m_Area: 0
--- !u!1001 &665699090875585891
PrefabInstance:
m_ObjectHideFlags: 0
@@ -349,10 +323,22 @@ PrefabInstance:
propertyPath: 'm_Materials.Array.data[0]'
value:
objectReference: {fileID: 2100000, guid: 91e05bbf1e5cbfb4d865c8e2febc4673, type: 2}
- target: {fileID: -4677237296440866189, guid: 15f5826a4fa224044bdf0c1c6bc4685b, type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 15f5826a4fa224044bdf0c1c6bc4685b, type: 3}
propertyPath: m_Name
value: wall_straight_gate
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 15f5826a4fa224044bdf0c1c6bc4685b, type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
- target: {fileID: 1046628172763319773, guid: 15f5826a4fa224044bdf0c1c6bc4685b, type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []