立方体的位置同步
This commit is contained in:
@@ -14,6 +14,8 @@ GameObject:
|
|||||||
- component: {fileID: 6765530772190315426}
|
- component: {fileID: 6765530772190315426}
|
||||||
- component: {fileID: 8499328425325690813}
|
- component: {fileID: 8499328425325690813}
|
||||||
- component: {fileID: 8072914292444380081}
|
- component: {fileID: 8072914292444380081}
|
||||||
|
- component: {fileID: -809832392475339488}
|
||||||
|
- component: {fileID: 4615427192473594859}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: ACube
|
m_Name: ACube
|
||||||
m_TagString: Untagged
|
m_TagString: Untagged
|
||||||
@@ -171,7 +173,7 @@ MonoBehaviour:
|
|||||||
_initializeOrder: 0
|
_initializeOrder: 0
|
||||||
_preventDespawnOnDisconnect: 0
|
_preventDespawnOnDisconnect: 0
|
||||||
_defaultDespawnType: 0
|
_defaultDespawnType: 0
|
||||||
_initializedTimestamp: -8584117148313536437
|
_initializedTimestamp: -8584117104219334400
|
||||||
--- !u!114 &8072914292444380081
|
--- !u!114 &8072914292444380081
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -185,5 +187,78 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier: FishNet.Runtime::FishNet.Object.EmptyNetworkBehaviour
|
m_EditorClassIdentifier: FishNet.Runtime::FishNet.Object.EmptyNetworkBehaviour
|
||||||
_componentIndexCache: 0
|
_componentIndexCache: 0
|
||||||
_addedNetworkObject: {fileID: 0}
|
_addedNetworkObject: {fileID: 8499328425325690813}
|
||||||
_networkObjectCache: {fileID: 8499328425325690813}
|
_networkObjectCache: {fileID: 8499328425325690813}
|
||||||
|
--- !u!54 &-809832392475339488
|
||||||
|
Rigidbody:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2655148725409191110}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Mass: 1
|
||||||
|
m_LinearDamping: 0
|
||||||
|
m_AngularDamping: 0.05
|
||||||
|
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
||||||
|
m_InertiaTensor: {x: 1, y: 1, z: 1}
|
||||||
|
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_IncludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ExcludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ImplicitCom: 1
|
||||||
|
m_ImplicitTensor: 1
|
||||||
|
m_UseGravity: 1
|
||||||
|
m_IsKinematic: 0
|
||||||
|
m_Interpolate: 0
|
||||||
|
m_Constraints: 0
|
||||||
|
m_CollisionDetection: 0
|
||||||
|
--- !u!114 &4615427192473594859
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 2655148725409191110}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: a2836e36774ca1c4bbbee976e17b649c, type: 3}
|
||||||
|
m_Name:
|
||||||
|
m_EditorClassIdentifier: FishNet.Runtime::FishNet.Component.Transforming.NetworkTransform
|
||||||
|
_componentIndexCache: 255
|
||||||
|
_addedNetworkObject: {fileID: 8499328425325690813}
|
||||||
|
_networkObjectCache: {fileID: 0}
|
||||||
|
_componentConfiguration: 2
|
||||||
|
_synchronizeParent: 0
|
||||||
|
_packing:
|
||||||
|
Position: 1
|
||||||
|
Rotation: 1
|
||||||
|
Scale: 0
|
||||||
|
_useScaledTime: 1
|
||||||
|
_interpolation: 2
|
||||||
|
_extrapolation: 2
|
||||||
|
_enableTeleport: 0
|
||||||
|
_teleportThreshold: 1
|
||||||
|
_clientAuthoritative: 1
|
||||||
|
_sendToOwner: 1
|
||||||
|
_interval: 1
|
||||||
|
_synchronizePosition: 1
|
||||||
|
_positionSensitivity: 0.001
|
||||||
|
_positionSnapping:
|
||||||
|
X: 0
|
||||||
|
Y: 0
|
||||||
|
Z: 0
|
||||||
|
_synchronizeRotation: 1
|
||||||
|
_rotationSnapping:
|
||||||
|
X: 0
|
||||||
|
Y: 0
|
||||||
|
Z: 0
|
||||||
|
_synchronizeScale: 1
|
||||||
|
_scaleSensitivity: 0.001
|
||||||
|
_scaleSnapping:
|
||||||
|
X: 0
|
||||||
|
Y: 0
|
||||||
|
Z: 0
|
||||||
|
|||||||
@@ -163,6 +163,7 @@ GameObject:
|
|||||||
- component: {fileID: -1778631990423174556}
|
- component: {fileID: -1778631990423174556}
|
||||||
- component: {fileID: -1909282985868566644}
|
- component: {fileID: -1909282985868566644}
|
||||||
- component: {fileID: -2948519365385897836}
|
- component: {fileID: -2948519365385897836}
|
||||||
|
- component: {fileID: 6625924108130006384}
|
||||||
m_Layer: 0
|
m_Layer: 0
|
||||||
m_Name: Player
|
m_Name: Player
|
||||||
m_TagString: Player
|
m_TagString: Player
|
||||||
@@ -338,6 +339,7 @@ MonoBehaviour:
|
|||||||
- {fileID: 3905363232486332009}
|
- {fileID: 3905363232486332009}
|
||||||
- {fileID: -1605824257395221361}
|
- {fileID: -1605824257395221361}
|
||||||
- {fileID: -1778631990423174556}
|
- {fileID: -1778631990423174556}
|
||||||
|
- {fileID: -1909282985868566644}
|
||||||
InitializedParentNetworkBehaviour: {fileID: 0}
|
InitializedParentNetworkBehaviour: {fileID: 0}
|
||||||
InitializedNestedNetworkObjects: []
|
InitializedNestedNetworkObjects: []
|
||||||
RuntimeParentNetworkBehaviour: {fileID: 0}
|
RuntimeParentNetworkBehaviour: {fileID: 0}
|
||||||
@@ -348,7 +350,7 @@ MonoBehaviour:
|
|||||||
_initializeOrder: 0
|
_initializeOrder: 0
|
||||||
_preventDespawnOnDisconnect: 0
|
_preventDespawnOnDisconnect: 0
|
||||||
_defaultDespawnType: 0
|
_defaultDespawnType: 0
|
||||||
_initializedTimestamp: -8584117164126792146
|
_initializedTimestamp: -8584117120783244132
|
||||||
--- !u!114 &-1605824257395221361
|
--- !u!114 &-1605824257395221361
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
m_ObjectHideFlags: 0
|
m_ObjectHideFlags: 0
|
||||||
@@ -422,9 +424,9 @@ MonoBehaviour:
|
|||||||
m_Script: {fileID: 11500000, guid: 42ed262caf19a9040bf314a318cfecb6, type: 3}
|
m_Script: {fileID: 11500000, guid: 42ed262caf19a9040bf314a318cfecb6, type: 3}
|
||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier: '::'
|
m_EditorClassIdentifier: '::'
|
||||||
_componentIndexCache: 255
|
_componentIndexCache: 3
|
||||||
_addedNetworkObject: {fileID: -8731164649411638372}
|
_addedNetworkObject: {fileID: -8731164649411638372}
|
||||||
_networkObjectCache: {fileID: 0}
|
_networkObjectCache: {fileID: -8731164649411638372}
|
||||||
cubePrefab: {fileID: 8499328425325690813, guid: 5d76bafdfa1223f40b69ba0a0c4de184, type: 3}
|
cubePrefab: {fileID: 8499328425325690813, guid: 5d76bafdfa1223f40b69ba0a0c4de184, type: 3}
|
||||||
--- !u!114 &-2948519365385897836
|
--- !u!114 &-2948519365385897836
|
||||||
MonoBehaviour:
|
MonoBehaviour:
|
||||||
@@ -456,3 +458,30 @@ MonoBehaviour:
|
|||||||
m_DefaultActionMap: Player
|
m_DefaultActionMap: Player
|
||||||
m_SplitScreenIndex: -1
|
m_SplitScreenIndex: -1
|
||||||
m_Camera: {fileID: 0}
|
m_Camera: {fileID: 0}
|
||||||
|
--- !u!54 &6625924108130006384
|
||||||
|
Rigidbody:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 7344258574652498121}
|
||||||
|
serializedVersion: 5
|
||||||
|
m_Mass: 1
|
||||||
|
m_LinearDamping: 0
|
||||||
|
m_AngularDamping: 0.05
|
||||||
|
m_CenterOfMass: {x: 0, y: 0, z: 0}
|
||||||
|
m_InertiaTensor: {x: 1, y: 1, z: 1}
|
||||||
|
m_InertiaRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||||
|
m_IncludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ExcludeLayers:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_Bits: 0
|
||||||
|
m_ImplicitCom: 1
|
||||||
|
m_ImplicitTensor: 1
|
||||||
|
m_UseGravity: 1
|
||||||
|
m_IsKinematic: 1
|
||||||
|
m_Interpolate: 0
|
||||||
|
m_Constraints: 0
|
||||||
|
m_CollisionDetection: 0
|
||||||
|
|||||||
Reference in New Issue
Block a user