Fix player components injection. Add lobby reloading when clients change

This commit is contained in:
2024-09-11 21:03:47 +02:00
parent 9250b7b5dd
commit e428d3a9f9
10 changed files with 284 additions and 86 deletions

View File

@@ -21,23 +21,23 @@ PrefabInstance:
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 148
objectReference: {fileID: 0}
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.x
@@ -46,7 +46,7 @@ PrefabInstance:
- target: {fileID: 2723252326716659909, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3680965801110432182, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
@@ -71,23 +71,23 @@ PrefabInstance:
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 148
objectReference: {fileID: 0}
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.x
@@ -96,28 +96,28 @@ PrefabInstance:
- target: {fileID: 6236588919629483555, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -280
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 148
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.x
@@ -126,28 +126,28 @@ PrefabInstance:
- target: {fileID: 6353877099413377020, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -206
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMin.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.x
value: 148
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_SizeDelta.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.x
@@ -156,7 +156,7 @@ PrefabInstance:
- target: {fileID: 6413800453266084155, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
propertyPath: m_AnchoredPosition.y
value: -280
value: 0
objectReference: {fileID: 0}
- target: {fileID: 7749079862415865764, guid: f871c3b28fd786d4f820bea343f67979,
type: 3}
@@ -622,7 +622,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: d5a57f767e5e46a458fc5d3c628d0cbb, type: 3}
m_Name:
m_EditorClassIdentifier:
GlobalObjectIdHash: 3394388680
GlobalObjectIdHash: 918221477
InScenePlacedSourceGlobalObjectIdHash: 0
AlwaysReplicateAsRoot: 0
SynchronizeTransform: 1

View File

@@ -113,6 +113,7 @@ MonoBehaviour:
playerImage: {fileID: 8099569868075258247}
emptyGroup: {fileID: 4280662165316134992}
activeGroup: {fileID: 2984876657522624788}
defaultPlayerImage: {fileID: 21300000, guid: 695bf1a0f9b004b57b57a6b3f78e4322, type: 3}
--- !u!1 &214368010157340983
GameObject:
m_ObjectHideFlags: 0
@@ -138,7 +139,7 @@ RectTransform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 214368010157340983}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0.0001490116}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
@@ -147,8 +148,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: 0.000076293945, y: 0}
m_SizeDelta: {x: -20, y: -20}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: -22, y: -22}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &2939737273055999062
MonoBehaviour: