ObstacleSpawner 네트워크 연동

모든 클라이언트가 동일한 장애물을 보도록 함
This commit is contained in:
2026-02-02 10:08:57 +09:00
parent 10b496dfae
commit b5f8943bcc
8 changed files with 234 additions and 16 deletions

View File

@@ -10,6 +10,7 @@ GameObject:
m_Component:
- component: {fileID: 5791990943856352332}
- component: {fileID: 6386629597168169889}
- component: {fileID: 4283595864140016680}
m_Layer: 10
m_Name: Rock2
m_TagString: Untagged
@@ -48,9 +49,36 @@ MonoBehaviour:
showInExploredAreas: 1
updateInterval: 0.2
renderers: []
debugLogging: 1
enableDistantVisibility: 1
heightVisibilityMultiplier: 2
minHeightForDistantVisibility: 3
useExploredMaterial: 0
exploredMaterial: {fileID: 0}
--- !u!114 &4283595864140016680
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 7245241003860522441}
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: 0
InScenePlacedSourceGlobalObjectIdHash: 0
DeferredDespawnTick: 0
Ownership: 1
AlwaysReplicateAsRoot: 0
SynchronizeTransform: 1
ActiveSceneSynchronization: 0
SceneMigrationSynchronization: 1
SpawnWithObservers: 1
DontDestroyWithOwner: 0
AutoObjectParentSync: 1
SyncOwnerTransformWhenParented: 1
AllowOwnerToParent: 0
--- !u!1001 &1439609661864653002
PrefabInstance:
m_ObjectHideFlags: 0