클라이언트 접속 전에 스폰되어 있는 오브젝트의 경우, Ownership이 Distributable일 경우 클라이언트 접속 시점에 Ownership을 호스트로부터 분배받는다. 서버만 데이터를 수정해야 하는 환경이기 때문에 대부분 Distributable 대신 None을 사용하면 된다.
77 lines
2.3 KiB
Plaintext
77 lines
2.3 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &4631342387095849626
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 922888705413710451}
|
|
- component: {fileID: 2586844881002566986}
|
|
- component: {fileID: 133850760071591855}
|
|
m_Layer: 0
|
|
m_Name: PlayerSpawnPoint
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &922888705413710451
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4631342387095849626}
|
|
serializedVersion: 2
|
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
m_LocalPosition: {x: -3, y: 0, z: -5}
|
|
m_LocalScale: {x: 1, y: 1, z: 1}
|
|
m_ConstrainProportionsScale: 0
|
|
m_Children: []
|
|
m_Father: {fileID: 0}
|
|
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
|
|
--- !u!114 &2586844881002566986
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4631342387095849626}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: 41a3c6ef0dc9b4d4c9db4ec668a78fb3, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier: Assembly-CSharp::Northbound.PlayerSpawnPoint
|
|
spawnIndex: 0
|
|
isAvailable: 1
|
|
gizmoColor: {r: 0, g: 1, b: 0, a: 1}
|
|
gizmoRadius: 0.5
|
|
--- !u!114 &133850760071591855
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 4631342387095849626}
|
|
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: 1180282052
|
|
InScenePlacedSourceGlobalObjectIdHash: 0
|
|
DeferredDespawnTick: 0
|
|
Ownership: 0
|
|
AlwaysReplicateAsRoot: 0
|
|
SynchronizeTransform: 1
|
|
ActiveSceneSynchronization: 0
|
|
SceneMigrationSynchronization: 0
|
|
SpawnWithObservers: 1
|
|
DontDestroyWithOwner: 0
|
|
AutoObjectParentSync: 1
|
|
SyncOwnerTransformWhenParented: 1
|
|
AllowOwnerToParent: 0
|