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

@@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 7011000049316995908}
- component: {fileID: 1948217933253124379}
- component: {fileID: 1861572095783484933}
- component: {fileID: 383497841330268597}
m_Layer: 10
m_Name: Tree1
m_TagString: Untagged
@@ -70,9 +71,36 @@ MonoBehaviour:
showInExploredAreas: 1
updateInterval: 0.2
renderers: []
debugLogging: 1
enableDistantVisibility: 1
heightVisibilityMultiplier: 2
minHeightForDistantVisibility: 3
useExploredMaterial: 0
exploredMaterial: {fileID: 0}
--- !u!114 &383497841330268597
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1559926009631082787}
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 &6713237626157896158
PrefabInstance:
m_ObjectHideFlags: 0