몬스터 이동 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

@@ -11,7 +11,9 @@ GameObject:
- component: {fileID: 5749230937810543840}
- component: {fileID: 4564973829688190844}
- component: {fileID: 2599592318476693256}
m_Layer: 0
- component: {fileID: 1907881863544148932}
- component: {fileID: 3214893598090363914}
m_Layer: 9
m_Name: Wall
m_TagString: Untagged
m_Icon: {fileID: 0}
@@ -67,10 +69,61 @@ 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
m_TimeToStationary: 0
--- !u!114 &1907881863544148932
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 351020651857757465}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.Netcode.Runtime::Unity.Netcode.NetworkObject
GlobalObjectIdHash: 1061286994
InScenePlacedSourceGlobalObjectIdHash: 1061286994
DeferredDespawnTick: 0
Ownership: 1
AlwaysReplicateAsRoot: 0
SynchronizeTransform: 1
ActiveSceneSynchronization: 0
SceneMigrationSynchronization: 0
SpawnWithObservers: 1
DontDestroyWithOwner: 0
AutoObjectParentSync: 1
SyncOwnerTransformWhenParented: 1
AllowOwnerToParent: 0
--- !u!114 &3214893598090363914
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 351020651857757465}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 0ceedb9b012d848478813136b65738ae, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::Northbound.Building
ShowTopMostFoldoutHeaderGroup: 1
buildingData: {fileID: 11400000, guid: 0e495d169ee3bce449f4b1aea83d6818, type: 2}
gridPosition: {x: 0, y: 0, z: 0}
rotation: 0
initialTeam: 1
initialOwnerId: 1
useInitialOwner: 1
showHealthBar: 1
healthBarPrefab: {fileID: 0}
destroyEffectPrefab: {fileID: 0}
damageEffectPrefab: {fileID: 0}
effectSpawnPoint: {fileID: 0}
showGridBounds: 1
gridBoundsColor: {r: 0, g: 1, b: 1, a: 1}
--- !u!1001 &8926581783111832504
PrefabInstance:
m_ObjectHideFlags: 0
@@ -139,6 +192,10 @@ PrefabInstance:
propertyPath: m_Name
value: wall_straight
objectReference: {fileID: 0}
- target: {fileID: 919132149155446097, guid: 19a9a3527b4bd784f9c2c298374a843d, type: 3}
propertyPath: m_Layer
value: 9
objectReference: {fileID: 0}
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []