fix main menu ui designu v join loading a create podle me nejak vadi playerlistu honzuv kod a z nejakyho duvodu meni barvu nejakych tlacitek coz idk jak fixnout je take potreba zaimplementovat UiManager do designu coz idk jak udelat honzo sry pokud jsem neco omilem rozbil ale o nicem nevim

This commit is contained in:
2026-05-10 01:15:07 +02:00
parent 9a736e1d53
commit 90fd3514fb
2 changed files with 178 additions and 41 deletions

View File

@@ -154,10 +154,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 2022427224}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -466.8166, y: -731.971}
m_SizeDelta: {x: 246.139, y: 113.3993}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 216, y: -205}
m_SizeDelta: {x: 200, y: 200}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &202338697
MonoBehaviour:
@@ -447,8 +447,8 @@ MonoBehaviour:
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 33.4
m_fontSizeBase: 33.4
m_fontSize: 89
m_fontSizeBase: 89
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
@@ -485,7 +485,7 @@ MonoBehaviour:
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: -173.94716, y: 11.8302, z: -294.52856, w: 16.477688}
m_margin: {x: -127.167816, y: -17.406898, z: -156.3833, w: -0.33364105}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
@@ -716,7 +716,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 1177, y: -205}
m_AnchoredPosition: {x: 1336, y: -205}
m_SizeDelta: {x: 200, y: 200}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &720431059
@@ -1028,8 +1028,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: 139}
m_SizeDelta: {x: 511.7281, y: 173.9875}
m_AnchoredPosition: {x: 16, y: 472}
m_SizeDelta: {x: 1250, y: 425}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &960568416
CanvasRenderer:
@@ -1254,10 +1254,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 2022427224}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 23.000046, y: -475.1214}
m_SizeDelta: {x: 1230.6951, y: 850.4949}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: -10, y: 2069}
m_SizeDelta: {x: 1000, y: 1500}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &982479698
CanvasRenderer:
@@ -1389,6 +1389,142 @@ Transform:
m_Children: []
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &1163536068
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1163536069}
- component: {fileID: 1163536071}
- component: {fileID: 1163536070}
m_Layer: 5
m_Name: max players
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1163536069
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1163536068}
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_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 2022427224}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -356, y: -2384}
m_SizeDelta: {x: 1000, y: 300}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1163536070
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1163536068}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TextMeshProUGUI
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: 'Current players:'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 8a13e20c49f7db440aa1e34c53005080, type: 2}
m_sharedMaterial: {fileID: 4955521229866657731, guid: 8a13e20c49f7db440aa1e34c53005080, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4292214979
m_fontColor: {r: 0.76470596, g: 0, b: 0.83921576, 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: 120
m_fontSizeBase: 120
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_TextWrappingMode: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 0
m_ActiveFontFeatures: 6e72656b
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_EmojiFallbackSupport: 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: 12.227722, y: 33.534668, z: -194.49167, w: 37.32251}
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 &1163536071
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1163536068}
m_CullTransparentMesh: 1
--- !u!1 &1191044984
GameObject:
m_ObjectHideFlags: 0
@@ -1421,10 +1557,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 2022427224}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 23, y: -381}
m_SizeDelta: {x: 861.4866, y: 85.0495}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: -10, y: 2235}
m_SizeDelta: {x: 700, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1191044986
CanvasRenderer:
@@ -1496,10 +1632,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 1641797426}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -36, y: -761}
m_SizeDelta: {x: 215, y: 1282}
m_AnchorMin: {x: 0.07750001, y: 0}
m_AnchorMax: {x: 1, y: 1}
m_AnchoredPosition: {x: -75, y: -11}
m_SizeDelta: {x: -707, y: -218}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1211383658
MonoBehaviour:
@@ -1632,10 +1768,10 @@ RectTransform:
m_Children: []
m_Father: {fileID: 2022427224}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 23.000046, y: -239.81787}
m_SizeDelta: {x: 861.4866, y: 85.0495}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: -10, y: 2484}
m_SizeDelta: {x: 700, y: 150}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &1443244313
CanvasRenderer:
@@ -1709,10 +1845,10 @@ RectTransform:
- {fileID: 1211383657}
m_Father: {fileID: 2022427224}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -0.000015259, y: -493}
m_SizeDelta: {x: 1058.6465, y: 909.2553}
m_AnchorMin: {x: 0.5, y: 0}
m_AnchorMax: {x: 0.5, y: 0}
m_AnchoredPosition: {x: -10, y: 2069}
m_SizeDelta: {x: 1000, y: 1500}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!95 &1641797427
Animator:
@@ -1774,7 +1910,7 @@ MonoBehaviour:
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!1 &1685875757
--- !u!1 &1734550746
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
@@ -1782,8 +1918,8 @@ GameObject:
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1685875759}
- component: {fileID: 1685875758}
- component: {fileID: 1734550748}
- component: {fileID: 1734550747}
m_Layer: 0
m_Name: UIManager
m_TagString: Untagged
@@ -1791,25 +1927,25 @@ GameObject:
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!114 &1685875758
--- !u!114 &1734550747
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1685875757}
m_GameObject: {fileID: 1734550746}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 290610b7d8fb7ea675982694abac90ef, type: 3}
m_Name:
m_EditorClassIdentifier: Assembly-CSharp::LobbyDisplayUI
--- !u!4 &1685875759
--- !u!4 &1734550748
Transform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1685875757}
m_GameObject: {fileID: 1734550746}
serializedVersion: 2
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
m_LocalPosition: {x: 0.21709, y: 0, z: 3.25431}
@@ -1963,7 +2099,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: -275, y: -199.87}
m_AnchoredPosition: {x: -454, y: -2620}
m_SizeDelta: {x: 1000, y: 300}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1950902273
@@ -2200,6 +2336,8 @@ RectTransform:
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 1756995538}
- {fileID: 1163536069}
- {fileID: 1950902272}
- {fileID: 202338696}
- {fileID: 720431058}
- {fileID: 982479697}
@@ -2207,7 +2345,6 @@ RectTransform:
- {fileID: 1443244312}
- {fileID: 1191044985}
- {fileID: 960568415}
- {fileID: 1950902272}
m_Father: {fileID: 0}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
@@ -2224,4 +2361,4 @@ SceneRoots:
- {fileID: 999622380}
- {fileID: 514215624}
- {fileID: 794999493}
- {fileID: 1685875759}
- {fileID: 1734550748}

View File

@@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: bb0f4b90bb4ebfe47b92da609060694b
guid: 67ed1a78c923af84eb3b68b0ee9a2d76
DefaultImporter:
externalObjects: {}
userData: