클라이언트 접속 전에 스폰되어 있는 오브젝트의 경우, Ownership이 Distributable일 경우 클라이언트 접속 시점에 Ownership을 호스트로부터 분배받는다. 서버만 데이터를 수정해야 하는 환경이기 때문에 대부분 Distributable 대신 None을 사용하면 된다.
77 lines
2.4 KiB
Plaintext
77 lines
2.4 KiB
Plaintext
%YAML 1.1
|
|
%TAG !u! tag:unity3d.com,2011:
|
|
--- !u!1 &3360908504529629757
|
|
GameObject:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
serializedVersion: 6
|
|
m_Component:
|
|
- component: {fileID: 5307373070786284181}
|
|
- component: {fileID: 7944914562202077200}
|
|
- component: {fileID: 3349671398273528302}
|
|
m_Layer: 0
|
|
m_Name: CreepCamp
|
|
m_TagString: Untagged
|
|
m_Icon: {fileID: 0}
|
|
m_NavMeshLayer: 0
|
|
m_StaticEditorFlags: 0
|
|
m_IsActive: 1
|
|
--- !u!4 &5307373070786284181
|
|
Transform:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 3360908504529629757}
|
|
serializedVersion: 2
|
|
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
|
|
m_LocalPosition: {x: -6.74042, y: 1.00002, z: -72.33073}
|
|
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 &7944914562202077200
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 3360908504529629757}
|
|
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: 1920228393
|
|
InScenePlacedSourceGlobalObjectIdHash: 0
|
|
DeferredDespawnTick: 0
|
|
Ownership: 0
|
|
AlwaysReplicateAsRoot: 0
|
|
SynchronizeTransform: 1
|
|
ActiveSceneSynchronization: 0
|
|
SceneMigrationSynchronization: 1
|
|
SpawnWithObservers: 1
|
|
DontDestroyWithOwner: 0
|
|
AutoObjectParentSync: 1
|
|
SyncOwnerTransformWhenParented: 1
|
|
AllowOwnerToParent: 0
|
|
--- !u!114 &3349671398273528302
|
|
MonoBehaviour:
|
|
m_ObjectHideFlags: 0
|
|
m_CorrespondingSourceObject: {fileID: 0}
|
|
m_PrefabInstance: {fileID: 0}
|
|
m_PrefabAsset: {fileID: 0}
|
|
m_GameObject: {fileID: 3360908504529629757}
|
|
m_Enabled: 1
|
|
m_EditorHideFlags: 0
|
|
m_Script: {fileID: 11500000, guid: d4c5f296c2ebd7d41b2517a03c8b574c, type: 3}
|
|
m_Name:
|
|
m_EditorClassIdentifier: Assembly-CSharp::Northbound.CreepCamp
|
|
ShowTopMostFoldoutHeaderGroup: 1
|
|
creepPrefabs: []
|
|
resourcePickupPrefab: {fileID: 1627676033990080135, guid: 8c45964a69bf8fa4ba461ed217bc052f, type: 3}
|
|
baseResourceAmount: 50
|