diff --git a/Assets/Prefabs/row.prefab b/Assets/Prefabs/row.prefab index 9f5422fb42123c22038ba18614d59a3ee17277a4..5e35d49d0c85c24b183d663aa993356ffcc35529 100644 --- a/Assets/Prefabs/row.prefab +++ b/Assets/Prefabs/row.prefab @@ -85,7 +85,7 @@ GameObject: m_Component: - component: {fileID: 4663329717279660450} - component: {fileID: 4663329717279660448} - - component: {fileID: 4663329717279660449} + - component: {fileID: 5843216372332269831} m_Layer: 5 m_Name: playerScore m_TagString: Untagged @@ -120,7 +120,7 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4663329717279660451} m_CullTransparentMesh: 1 ---- !u!114 &4663329717279660449 +--- !u!114 &5843216372332269831 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -129,7 +129,7 @@ MonoBehaviour: m_GameObject: {fileID: 4663329717279660451} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} @@ -140,77 +140,20 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: '64 - -' - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 64 - m_fontSizeBase: 64 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 2 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 36 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 40 + m_Alignment: 5 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 116 --- !u!1 &4663329718211826121 GameObject: m_ObjectHideFlags: 0 @@ -221,7 +164,7 @@ GameObject: m_Component: - component: {fileID: 4663329718211826120} - component: {fileID: 4663329718211826126} - - component: {fileID: 4663329718211826127} + - component: {fileID: 2022413310911041671} m_Layer: 5 m_Name: playerName m_TagString: Untagged @@ -256,7 +199,7 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 4663329718211826121} m_CullTransparentMesh: 1 ---- !u!114 &4663329718211826127 +--- !u!114 &2022413310911041671 MonoBehaviour: m_ObjectHideFlags: 0 m_CorrespondingSourceObject: {fileID: 0} @@ -265,7 +208,7 @@ MonoBehaviour: m_GameObject: {fileID: 4663329718211826121} m_Enabled: 1 m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Script: {fileID: 11500000, guid: 5f7201a12d95ffc409449d95f23cf332, type: 3} m_Name: m_EditorClassIdentifier: m_Material: {fileID: 0} @@ -276,75 +219,22 @@ MonoBehaviour: m_OnCullStateChanged: m_PersistentCalls: m_Calls: [] - m_text: kekw - m_isRightToLeft: 0 - m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} - m_fontSharedMaterials: [] - m_fontMaterial: {fileID: 0} - m_fontMaterials: [] - m_fontColor32: - serializedVersion: 2 - rgba: 4294967295 - m_fontColor: {r: 1, g: 1, b: 1, a: 1} - m_enableVertexGradient: 0 - m_colorMode: 3 - m_fontColorGradient: - topLeft: {r: 1, g: 1, b: 1, a: 1} - topRight: {r: 1, g: 1, b: 1, a: 1} - bottomLeft: {r: 1, g: 1, b: 1, a: 1} - bottomRight: {r: 1, g: 1, b: 1, a: 1} - m_fontColorGradientPreset: {fileID: 0} - m_spriteAsset: {fileID: 0} - m_tintAllSprites: 0 - m_StyleSheet: {fileID: 0} - m_TextStyleHashCode: -1183493901 - m_overrideHtmlColors: 0 - m_faceColor: - serializedVersion: 2 - rgba: 4294967295 - m_fontSize: 64 - m_fontSizeBase: 20 - m_fontWeight: 400 - m_enableAutoSizing: 0 - m_fontSizeMin: 18 - m_fontSizeMax: 72 - m_fontStyle: 0 - m_HorizontalAlignment: 1 - m_VerticalAlignment: 512 - m_textAlignment: 65535 - m_characterSpacing: 0 - m_wordSpacing: 0 - m_lineSpacing: 0 - m_lineSpacingMax: 0 - m_paragraphSpacing: 0 - m_charWidthMaxAdj: 0 - m_enableWordWrapping: 1 - m_wordWrappingRatios: 0.4 - m_overflowMode: 0 - m_linkedTextComponent: {fileID: 0} - parentLinkedComponent: {fileID: 0} - m_enableKerning: 1 - m_enableExtraPadding: 0 - checkPaddingRequired: 0 - m_isRichText: 1 - m_parseCtrlCharacters: 1 - m_isOrthographic: 1 - m_isCullingEnabled: 0 - m_horizontalMapping: 0 - m_verticalMapping: 0 - m_uvLineOffset: 0 - m_geometrySortingOrder: 0 - m_IsTextObjectScaleStatic: 0 - m_VertexBufferAutoSizeReduction: 0 - m_useMaxVisibleDescender: 1 - m_pageToDisplay: 1 - m_margin: {x: 0, y: 0, z: 0, w: 0} - m_isUsingLegacyAnimationComponent: 0 - m_isVolumetricText: 0 - m_hasFontAssetChanged: 0 - m_baseMaterial: {fileID: 0} - m_maskOffset: {x: 0, y: 0, z: 0, w: 0} + m_FontData: + m_Font: {fileID: 10102, guid: 0000000000000000e000000000000000, type: 0} + m_FontSize: 36 + m_FontStyle: 0 + m_BestFit: 0 + m_MinSize: 3 + m_MaxSize: 64 + m_Alignment: 3 + m_AlignByGeometry: 0 + m_RichText: 1 + m_HorizontalOverflow: 0 + m_VerticalOverflow: 0 + m_LineSpacing: 1 + m_Text: 'kekafa + +' --- !u!1 &4663329718610754681 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Game_over.unity b/Assets/Scenes/Game_over.unity index 9b1e532402d772542162e44c11f03bd0412b3e57..b998d8c08ca0dd451e5978184e1f38c1c44c75bd 100644 --- a/Assets/Scenes/Game_over.unity +++ b/Assets/Scenes/Game_over.unity @@ -339,7 +339,7 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: accb8167a52baf842b05d798d38671a8, type: 3} m_Name: m_EditorClassIdentifier: - ScoreData: {fileID: 11400000, guid: c3384fdbcb43df94dbaba334a4851414, type: 2} + scoreData: {fileID: 11400000, guid: c3384fdbcb43df94dbaba334a4851414, type: 2} --- !u!1 &581683351 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Menu.unity b/Assets/Scenes/Menu.unity index 49bea6adffa2b0e77e389d1414b826f333c0439f..019bb13e60107b44b2dce274c30e401c8630cf68 100644 --- a/Assets/Scenes/Menu.unity +++ b/Assets/Scenes/Menu.unity @@ -614,103 +614,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 162004009} m_CullTransparentMesh: 1 ---- !u!1001 &302186265 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1169715779} - m_Modifications: - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_RootOrder - value: 3 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.y - value: 49.96161 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Name - value: row (3) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} --- !u!1 &368690514 GameObject: m_ObjectHideFlags: 0 @@ -813,8 +716,8 @@ RectTransform: m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} m_AnchorMin: {x: 0.5, y: 0} m_AnchorMax: {x: 0.5, y: 0} - m_AnchoredPosition: {x: 0, y: 200} - m_SizeDelta: {x: 489.914, y: 240.46399} + m_AnchoredPosition: {x: 0, y: 49} + m_SizeDelta: {x: 400, y: 200} m_Pivot: {x: 0.5, y: 0} --- !u!114 &417303074 MonoBehaviour: @@ -1262,7 +1165,6 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 741943918} - - component: {fileID: 741943920} - component: {fileID: 741943919} m_Layer: 5 m_Name: menuLeaderboard @@ -1288,6 +1190,7 @@ RectTransform: - {fileID: 466912395} - {fileID: 162004010} - {fileID: 1071570656} + - {fileID: 1830572036} m_Father: {fileID: 79125915} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -1315,115 +1218,6 @@ Animator: m_HasTransformHierarchy: 1 m_AllowConstantClipSamplingOptimization: 1 m_KeepAnimatorControllerStateOnDisable: 0 ---- !u!114 &741943920 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 741943917} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 34767b4c9fb8a964581d2cbf1e9288e8, type: 3} - m_Name: - m_EditorClassIdentifier: ---- !u!1001 &832388652 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1169715779} - m_Modifications: - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_RootOrder - value: 2 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.y - value: 49.96161 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Name - value: row (2) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} --- !u!1 &833974370 GameObject: m_ObjectHideFlags: 0 @@ -1766,108 +1560,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1054951885} m_CullTransparentMesh: 1 ---- !u!1001 &1065062782 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1169715779} - m_Modifications: - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_RootOrder - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.y - value: 49.96161 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Name - value: row - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} ---- !u!224 &1065062783 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - m_PrefabInstance: {fileID: 1065062782} - m_PrefabAsset: {fileID: 0} --- !u!1 &1071570655 GameObject: m_ObjectHideFlags: 0 @@ -2002,103 +1694,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1071570655} m_CullTransparentMesh: 1 ---- !u!1001 &1091793597 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1169715779} - m_Modifications: - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_RootOrder - value: 4 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.y - value: 49.96161 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Name - value: row (4) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} --- !u!1 &1136063532 GameObject: m_ObjectHideFlags: 0 @@ -2110,6 +1705,7 @@ GameObject: - component: {fileID: 1136063535} - component: {fileID: 1136063534} - component: {fileID: 1136063533} + - component: {fileID: 1136063536} m_Layer: 0 m_Name: Main Camera m_TagString: MainCamera @@ -2182,6 +1778,22 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!114 &1136063536 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1136063532} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 8cade418e315c8b418bd86c9a904a11d, type: 3} + m_Name: + m_EditorClassIdentifier: + table: {fileID: 1169715779} + refreshTime: 5 + scoreData: {fileID: 11400000, guid: c3384fdbcb43df94dbaba334a4851414, type: 2} + rowPrefab: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} --- !u!1 &1145573626 GameObject: m_ObjectHideFlags: 0 @@ -2342,13 +1954,7 @@ RectTransform: m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} m_LocalPosition: {x: 0, y: 0, z: 0} m_LocalScale: {x: 1, y: 1, z: 1} - m_Children: - - {fileID: 1065062783} - - {fileID: 1698734491} - - {fileID: 2060335348} - - {fileID: 1368571008} - - {fileID: 1208200912} - - {fileID: 2093826720} + m_Children: [] m_Father: {fileID: 741943918} m_RootOrder: 2 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -2383,108 +1989,6 @@ MonoBehaviour: m_ChildScaleWidth: 0 m_ChildScaleHeight: 0 m_ReverseArrangement: 0 ---- !u!224 &1208200912 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - m_PrefabInstance: {fileID: 1091793597} - m_PrefabAsset: {fileID: 0} ---- !u!1001 &1245905052 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1169715779} - m_Modifications: - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_RootOrder - value: 5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.y - value: 49.96161 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Name - value: row (5) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} --- !u!1 &1260697173 GameObject: m_ObjectHideFlags: 0 @@ -2752,108 +2256,6 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1306441806} m_CullTransparentMesh: 1 ---- !u!1001 &1317834832 -PrefabInstance: - m_ObjectHideFlags: 0 - serializedVersion: 2 - m_Modification: - m_TransformParent: {fileID: 1169715779} - m_Modifications: - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.x - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Pivot.y - value: 0.5 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_RootOrder - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMax.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchorMin.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_SizeDelta.y - value: 49.96161 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalPosition.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.w - value: 1 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalRotation.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_AnchoredPosition.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.x - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.y - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_LocalEulerAnglesHint.z - value: 0 - objectReference: {fileID: 0} - - target: {fileID: 4663329718610754681, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - propertyPath: m_Name - value: row (1) - objectReference: {fileID: 0} - m_RemovedComponents: [] - m_SourcePrefab: {fileID: 100100000, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} ---- !u!224 &1368571008 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - m_PrefabInstance: {fileID: 302186265} - m_PrefabAsset: {fileID: 0} --- !u!1 &1379043066 GameObject: m_ObjectHideFlags: 0 @@ -2988,11 +2390,273 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 1379043066} m_CullTransparentMesh: 1 ---- !u!224 &1698734491 stripped +--- !u!1 &1675148152 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1675148153} + - component: {fileID: 1675148155} + - component: {fileID: 1675148154} + m_Layer: 5 + m_Name: leaderboardBackText + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1675148153 +RectTransform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1675148152} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1830572036} + m_RootOrder: 0 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0, y: 0} + m_AnchorMax: {x: 1, y: 1} + m_AnchoredPosition: {x: 0, y: 0} + m_SizeDelta: {x: 0, y: 0} + m_Pivot: {x: 0.5, y: 0.5} +--- !u!114 &1675148154 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1675148152} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 1, g: 1, b: 1, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_text: Refresh + m_isRightToLeft: 0 + m_fontAsset: {fileID: 11400000, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_sharedMaterial: {fileID: 2180264, guid: 8f586378b4e144a9851e7b34d9b748ee, type: 2} + m_fontSharedMaterials: [] + m_fontMaterial: {fileID: 0} + m_fontMaterials: [] + m_fontColor32: + serializedVersion: 2 + rgba: 4294967295 + m_fontColor: {r: 1, g: 1, b: 1, a: 1} + m_enableVertexGradient: 1 + m_colorMode: 3 + m_fontColorGradient: + topLeft: {r: 1, g: 1, b: 1, a: 1} + topRight: {r: 1, g: 1, b: 1, a: 1} + bottomLeft: {r: 1, g: 1, b: 1, a: 1} + bottomRight: {r: 1, g: 1, b: 1, a: 1} + m_fontColorGradientPreset: {fileID: 0} + m_spriteAsset: {fileID: 0} + m_tintAllSprites: 0 + m_StyleSheet: {fileID: 0} + m_TextStyleHashCode: -1183493901 + m_overrideHtmlColors: 0 + m_faceColor: + serializedVersion: 2 + rgba: 4294967295 + m_fontSize: 70 + m_fontSizeBase: 70 + m_fontWeight: 400 + m_enableAutoSizing: 0 + m_fontSizeMin: 18 + m_fontSizeMax: 72 + m_fontStyle: 0 + m_HorizontalAlignment: 2 + m_VerticalAlignment: 512 + m_textAlignment: 65535 + m_characterSpacing: 0 + m_wordSpacing: 0 + m_lineSpacing: 0 + m_lineSpacingMax: 0 + m_paragraphSpacing: 0 + m_charWidthMaxAdj: 0 + m_enableWordWrapping: 1 + m_wordWrappingRatios: 0.4 + m_overflowMode: 0 + m_linkedTextComponent: {fileID: 0} + parentLinkedComponent: {fileID: 0} + m_enableKerning: 1 + m_enableExtraPadding: 0 + checkPaddingRequired: 0 + m_isRichText: 1 + m_parseCtrlCharacters: 1 + m_isOrthographic: 1 + m_isCullingEnabled: 0 + m_horizontalMapping: 0 + m_verticalMapping: 0 + m_uvLineOffset: 0 + m_geometrySortingOrder: 0 + m_IsTextObjectScaleStatic: 0 + m_VertexBufferAutoSizeReduction: 0 + m_useMaxVisibleDescender: 1 + m_pageToDisplay: 1 + m_margin: {x: 0, y: 1.0504456, z: 0.00012207031, w: 0} + m_isUsingLegacyAnimationComponent: 0 + m_isVolumetricText: 0 + m_hasFontAssetChanged: 0 + m_baseMaterial: {fileID: 0} + m_maskOffset: {x: 0, y: 0, z: 0, w: 0} +--- !u!222 &1675148155 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1675148152} + m_CullTransparentMesh: 1 +--- !u!1 &1830572035 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1830572036} + - component: {fileID: 1830572039} + - component: {fileID: 1830572038} + - component: {fileID: 1830572037} + m_Layer: 5 + m_Name: RefreshButton + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!224 &1830572036 RectTransform: - m_CorrespondingSourceObject: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - m_PrefabInstance: {fileID: 1317834832} + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1830572035} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: + - {fileID: 1675148153} + m_Father: {fileID: 741943918} + m_RootOrder: 6 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} + m_AnchorMin: {x: 0.5, y: 0.5} + m_AnchorMax: {x: 0.5, y: 0.5} + m_AnchoredPosition: {x: 0, y: -600} + m_SizeDelta: {x: 300, y: 100} + m_Pivot: {x: 0.5, y: 0} +--- !u!114 &1830572037 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1830572035} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Navigation: + m_Mode: 3 + m_WrapAround: 0 + m_SelectOnUp: {fileID: 0} + m_SelectOnDown: {fileID: 0} + m_SelectOnLeft: {fileID: 0} + m_SelectOnRight: {fileID: 0} + m_Transition: 1 + m_Colors: + m_NormalColor: {r: 0, g: 0, b: 0, a: 0} + m_HighlightedColor: {r: 0, g: 0, b: 0, a: 0.25490198} + m_PressedColor: {r: 0, g: 0, b: 0, a: 0.39607844} + m_SelectedColor: {r: 0, g: 0, b: 0, a: 0.19607843} + m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608} + m_ColorMultiplier: 1 + m_FadeDuration: 0.2 + m_SpriteState: + m_HighlightedSprite: {fileID: 0} + m_PressedSprite: {fileID: 0} + m_SelectedSprite: {fileID: 0} + m_DisabledSprite: {fileID: 0} + m_AnimationTriggers: + m_NormalTrigger: Normal + m_HighlightedTrigger: Highlighted + m_PressedTrigger: Pressed + m_SelectedTrigger: Selected + m_DisabledTrigger: Disabled + m_Interactable: 1 + m_TargetGraphic: {fileID: 1830572038} + m_OnClick: + m_PersistentCalls: + m_Calls: + - m_Target: {fileID: 1891644864} + m_TargetAssemblyTypeName: MenuController, Assembly-CSharp + m_MethodName: backButtonLeaderboard + m_Mode: 1 + m_Arguments: + m_ObjectArgument: {fileID: 0} + m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine + m_IntArgument: 0 + m_FloatArgument: 0 + m_StringArgument: + m_BoolArgument: 0 + m_CallState: 2 +--- !u!114 &1830572038 +MonoBehaviour: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1830572035} + m_Enabled: 1 + m_EditorHideFlags: 0 + m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3} + m_Name: + m_EditorClassIdentifier: + m_Material: {fileID: 0} + m_Color: {r: 0, g: 0, b: 0, a: 1} + m_RaycastTarget: 1 + m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0} + m_Maskable: 1 + m_OnCullStateChanged: + m_PersistentCalls: + m_Calls: [] + m_Sprite: {fileID: 10905, guid: 0000000000000000f000000000000000, type: 0} + m_Type: 1 + m_PreserveAspect: 0 + m_FillCenter: 1 + m_FillMethod: 4 + m_FillAmount: 1 + m_FillClockwise: 1 + m_FillOrigin: 0 + m_UseSpriteMesh: 0 + m_PixelsPerUnitMultiplier: 1 +--- !u!222 &1830572039 +CanvasRenderer: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1830572035} + m_CullTransparentMesh: 1 --- !u!1 &1887142128 GameObject: m_ObjectHideFlags: 0 @@ -3186,11 +2850,6 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 50e0e77bd41942245b69f6035b6292e7, type: 3} m_Name: m_EditorClassIdentifier: ---- !u!224 &2060335348 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - m_PrefabInstance: {fileID: 832388652} - m_PrefabAsset: {fileID: 0} --- !u!1 &2071320552 GameObject: m_ObjectHideFlags: 0 @@ -3200,7 +2859,6 @@ GameObject: serializedVersion: 6 m_Component: - component: {fileID: 2071320553} - - component: {fileID: 2071320554} - component: {fileID: 2071320555} m_Layer: 5 m_Name: mainMenu @@ -3208,7 +2866,7 @@ GameObject: m_Icon: {fileID: 0} m_NavMeshLayer: 0 m_StaticEditorFlags: 0 - m_IsActive: 1 + m_IsActive: 0 --- !u!224 &2071320553 RectTransform: m_ObjectHideFlags: 0 @@ -3233,18 +2891,6 @@ RectTransform: m_AnchoredPosition: {x: 0, y: 0} m_SizeDelta: {x: 0, y: 0} m_Pivot: {x: 0.5, y: 0.5} ---- !u!114 &2071320554 -MonoBehaviour: - m_ObjectHideFlags: 0 - m_CorrespondingSourceObject: {fileID: 0} - m_PrefabInstance: {fileID: 0} - m_PrefabAsset: {fileID: 0} - m_GameObject: {fileID: 2071320552} - m_Enabled: 1 - m_EditorHideFlags: 0 - m_Script: {fileID: 11500000, guid: 34767b4c9fb8a964581d2cbf1e9288e8, type: 3} - m_Name: - m_EditorClassIdentifier: --- !u!95 &2071320555 Animator: serializedVersion: 3 @@ -3264,8 +2910,3 @@ Animator: m_HasTransformHierarchy: 1 m_AllowConstantClipSamplingOptimization: 1 m_KeepAnimatorControllerStateOnDisable: 0 ---- !u!224 &2093826720 stripped -RectTransform: - m_CorrespondingSourceObject: {fileID: 4663329718610754680, guid: 99aa5892cf577c140afcb85f68306d01, type: 3} - m_PrefabInstance: {fileID: 1245905052} - m_PrefabAsset: {fileID: 0} diff --git a/Assets/Scripts/PlayFabConn/PlayFabGetLeaderboard.cs b/Assets/Scripts/PlayFabConn/PlayFabGetLeaderboard.cs new file mode 100644 index 0000000000000000000000000000000000000000..33c8d616dff821d3990bb4df0c1d273ef1677ca8 --- /dev/null +++ b/Assets/Scripts/PlayFabConn/PlayFabGetLeaderboard.cs @@ -0,0 +1,122 @@ +using System.Collections; +using System.Collections.Generic; +using PlayFab; +using PlayFab.ClientModels; +using UnityEngine; +using UnityEngine.UI; + +public class PlayFabGetLeaderboard : MonoBehaviour { + [SerializeField] private Transform table; + [SerializeField] private float refreshTime = 5.0f; + [SerializeField] private ScoreData scoreData; + [SerializeField] private GameObject rowPrefab; + private bool loggedIn = false; + private bool leaderboardGotten = false; + private int datasRecived = 0; + private Dictionary<string, Dictionary<string, string>> playerList; + void Start() { + playerList = new Dictionary<string, Dictionary<string, string>>(); + Login(); + StartCoroutine(GetLeaderBoard()); + StartCoroutine(GetData()); + } + public void Login() { + loggedIn = false; + var request = new LoginWithCustomIDRequest() { + CustomId = SystemInfo.deviceUniqueIdentifier, + CreateAccount = true + }; + PlayFabClientAPI.LoginWithCustomID(request, + result => { + Debug.Log("Successful login/acccount create!"); + loggedIn = true; + }, + error => { + Debug.LogError("Cannot login/creating account"); + Debug.LogError(error.GenerateErrorReport()); + } + ); + } + + IEnumerator GetLeaderBoard() { + while (!loggedIn) { + yield return null; + } + RefreshLeaderBoard(); + } + + IEnumerator GetData() { + while (!loggedIn || !leaderboardGotten) { + yield return null; + } + GetPlayerDatas(); + } + + public void RefreshLeaderBoard() { + leaderboardGotten = false; + var request = new GetLeaderboardRequest { + StatisticName = "Score", + StartPosition = 0, + MaxResultsCount = 5 + }; + PlayFabClientAPI.GetLeaderboard(request, + result => { + foreach (var item in result.Leaderboard) { + playerList.Add(item.PlayFabId, new Dictionary<string, string>()); + } + + leaderboardGotten = true; + }, + error => { + Debug.LogError("Cannot get the data!"); + Debug.LogError(error.GenerateErrorReport()); + }); + } + void GetPlayerDatas() { + datasRecived = 0; + foreach (var player in playerList) { + string playerId = player.Key; + List<string> keys = new List<string> {"name", "color"}; + PlayFabClientAPI.GetUserData(new GetUserDataRequest { + Keys = keys, + PlayFabId = playerId + }, + result => { + if (result.Data != null && result.Data.ContainsKey("name") && result.Data.ContainsKey("color")) { + player.Value.Add("Name", result.Data["name"].Value); + player.Value.Add("Color", result.Data["color"].Value); + datasRecived++; + Debug.Log($"{player.Value["Name"]} : {player.Value["Color"]}"); + } else { + Debug.LogError("Player data not full."); + } + }, + error => { + Debug.LogError("Cannot get player data!"); + Debug.LogError(error.GenerateErrorReport()); + }); + } + } + void FillLeaderBoard() { + Transform[] children = table.GetComponentsInChildren<Transform>(); + foreach (var child in children) { + Destroy(child.gameObject); + } + + } + void AppendTableRow(string playerName, string color, string score) { + GameObject row = Instantiate(rowPrefab, table); + UnityEngine.UI.Text[] texts = row.GetComponentsInChildren<Text>(); + Image image = row.GetComponentInChildren<Image>(); + Text text; + Color tmpColor = Color.magenta; + if ("red".Equals(color)) { + + } else if ("red".Equals(color)) { + + } + } + void Update() { + + } +} \ No newline at end of file diff --git a/Assets/Scripts/PlayFabConn/PlayFabGetLeaderboard.cs.meta b/Assets/Scripts/PlayFabConn/PlayFabGetLeaderboard.cs.meta new file mode 100644 index 0000000000000000000000000000000000000000..01d6f2a959e3a8122309d229f2dfea0c0baa393a --- /dev/null +++ b/Assets/Scripts/PlayFabConn/PlayFabGetLeaderboard.cs.meta @@ -0,0 +1,11 @@ +fileFormatVersion: 2 +guid: 8cade418e315c8b418bd86c9a904a11d +MonoImporter: + externalObjects: {} + serializedVersion: 2 + defaultReferences: [] + executionOrder: 0 + icon: {instanceID: 0} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scripts/PlayFabConn/PlayFabUploadScore.cs b/Assets/Scripts/PlayFabConn/PlayFabUploadScore.cs index d4ea1ba220295d4cfdcf672d59da621dbe1f760a..819f07550626682c801e27723aabacb1e515c4fb 100644 --- a/Assets/Scripts/PlayFabConn/PlayFabUploadScore.cs +++ b/Assets/Scripts/PlayFabConn/PlayFabUploadScore.cs @@ -3,9 +3,10 @@ using System.Collections.Generic; using PlayFab; using PlayFab.ClientModels; using UnityEngine; +using Newtonsoft.Json; public class PlayFabUploadScore : MonoBehaviour { - [SerializeField] private ScoreData ScoreData; + [SerializeField] private ScoreData scoreData; bool loggedIn = false; void Start() { Login(); @@ -34,18 +35,18 @@ public class PlayFabUploadScore : MonoBehaviour { SendScore(); } void SendScore() { - var request = new UpdatePlayerStatisticsRequest() { + var request = new UpdatePlayerStatisticsRequest { Statistics = new List<StatisticUpdate> { - new StatisticUpdate() { + new StatisticUpdate { StatisticName = "Score", - Value = ScoreData.HighScore + Value = scoreData.HighScore } } }; PlayFabClientAPI.UpdatePlayerStatistics(request, - result => Debug.Log($"{ScoreData.HighScore} is sent!"), + result => Debug.Log($"{scoreData.HighScore} is sent!"), error => { - Debug.LogError("Cannot data!"); + Debug.LogError("Cannot send data!"); Debug.LogError(error.GenerateErrorReport()); }); }