Start working on Chatroom Options Menu

This commit is contained in:
Lncvrt committed 2025-08-24 15:43:46 -07:00
1 parent b16aa75628
commit d7a3f6dcb5
4 files changed
+767 -214

No files matched your search

+197 -170
View File
@@ -63,7 +63,7 @@ Material:
- _GlowOffset: 0
- _GlowOuter: 0.05
- _GlowPower: 0.75
- _GradientScale: 14
- _GradientScale: 12
- _LightAngle: 3.1416
- _MaskSoftnessX: 0
- _MaskSoftnessY: 0
@@ -73,9 +73,9 @@ Material:
- _OutlineWidth: 0
- _PerspectiveFilter: 0.875
- _Reflectivity: 10
- _ScaleRatioA: 0.9285714
- _ScaleRatioB: 0.75446427
- _ScaleRatioC: 0.75446427
- _ScaleRatioA: 0.9166667
- _ScaleRatioB: 0.7447917
- _ScaleRatioC: 0.7447917
- _ScaleX: 1
- _ScaleY: 1
- _ShaderFlags: 0
@@ -126,24 +126,24 @@ MonoBehaviour:
m_FaceIndex: 0
m_FamilyName: Font Awesome 7 Free
m_StyleName: Solid
m_PointSize: 148
m_PointSize: 129
m_Scale: 1
m_UnitsPerEM: 512
m_LineHeight: 148
m_AscentLine: 129.5
m_CapLine: 121
m_MeanLine: 122
m_LineHeight: 129
m_AscentLine: 112.875
m_CapLine: 105
m_MeanLine: 106
m_Baseline: 0
m_DescentLine: -18.5
m_SuperscriptOffset: 129.5
m_DescentLine: -16.125
m_SuperscriptOffset: 112.875
m_SuperscriptSize: 0.5
m_SubscriptOffset: -18.5
m_SubscriptOffset: -16.125
m_SubscriptSize: 0.5
m_UnderlineOffset: 0
m_UnderlineThickness: 0
m_StrikethroughOffset: 48.8
m_StrikethroughOffset: 42.4
m_StrikethroughThickness: 0
m_TabWidth: 74
m_TabWidth: 65
m_Material: {fileID: -353727190107255236}
m_SourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
m_CreationSettings:
@@ -151,14 +151,14 @@ MonoBehaviour:
sourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
faceIndex: 0
pointSizeSamplingMode: 0
pointSize: 148
padding: 13
pointSize: 129
padding: 11
paddingMode: 1
packingMode: 0
atlasWidth: 512
atlasHeight: 512
characterSetSelectionMode: 6
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d
referencedFontAssetGUID:
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
fontStyle: 0
@@ -172,151 +172,166 @@ MonoBehaviour:
m_GlyphTable:
- m_Index: 422
m_Metrics:
m_Width: 131.53125
m_Height: 121.703125
m_HorizontalBearingX: -0.875
m_HorizontalBearingY: 112.15625
m_HorizontalAdvance: 129.5
m_Width: 114.640625
m_Height: 106.078125
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 97.765625
m_HorizontalAdvance: 112.875
m_GlyphRect:
m_X: 346
m_Y: 154
m_Width: 132
m_Height: 123
m_X: 164
m_Y: 165
m_Width: 115
m_Height: 107
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 423
m_Metrics:
m_Width: 98.515625
m_Height: 98.25
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 97.5
m_HorizontalAdvance: 96.75
m_GlyphRect:
m_X: 268
m_Y: 346
m_Width: 99
m_Height: 99
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 474
m_Metrics:
m_Width: 111
m_Height: 129.5
m_Width: 96.75
m_Height: 112.875
m_HorizontalBearingX: 0
m_HorizontalBearingY: 120.25
m_HorizontalAdvance: 111
m_HorizontalBearingY: 104.8125
m_HorizontalAdvance: 96.75
m_GlyphRect:
m_X: 190
m_Y: 348
m_Width: 111
m_Height: 131
m_X: 148
m_Y: 334
m_Width: 97
m_Height: 114
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 490
m_Metrics:
m_Width: 148.875
m_Height: 112.75
m_HorizontalBearingX: -0.875
m_HorizontalBearingY: 111.875
m_HorizontalAdvance: 148
m_Width: 129.75
m_Height: 98.25
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 97.5
m_HorizontalAdvance: 129
m_GlyphRect:
m_X: 346
m_Y: 14
m_Width: 149
m_Height: 113
m_X: 302
m_Y: 134
m_Width: 130
m_Height: 99
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 491
m_Metrics:
m_Width: 148.875
m_Height: 112.75
m_Width: 129.75
m_Height: 98.25
m_HorizontalBearingX: 0
m_HorizontalBearingY: 111.875
m_HorizontalAdvance: 148
m_HorizontalBearingY: 97.5
m_HorizontalAdvance: 129
m_GlyphRect:
m_X: 14
m_Y: 385
m_Width: 149
m_Height: 113
m_X: 270
m_Y: 12
m_Width: 130
m_Height: 99
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 510
m_Metrics:
m_Width: 131.25
m_Height: 75.734375
m_HorizontalBearingX: -0.875
m_HorizontalBearingY: 102.625
m_HorizontalAdvance: 129.5
m_Width: 114.375
m_Height: 66
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 89.4375
m_HorizontalAdvance: 112.875
m_GlyphRect:
m_X: 346
m_Y: 304
m_Width: 132
m_Height: 77
m_X: 302
m_Y: 256
m_Width: 115
m_Height: 67
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 561
m_Metrics:
m_Width: 129.5
m_Height: 129.5
m_Width: 112.875
m_Height: 112.875
m_HorizontalBearingX: 0
m_HorizontalBearingY: 120.25
m_HorizontalAdvance: 129.5
m_HorizontalBearingY: 104.8125
m_HorizontalAdvance: 112.875
m_GlyphRect:
m_X: 189
m_Y: 190
m_Width: 130
m_Height: 131
m_X: 12
m_Y: 334
m_Width: 113
m_Height: 114
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 580
m_Metrics:
m_Width: 148
m_Height: 148
m_Width: 129
m_Height: 129
m_HorizontalBearingX: 0
m_HorizontalBearingY: 129.5
m_HorizontalAdvance: 148
m_HorizontalBearingY: 112.875
m_HorizontalAdvance: 129
m_GlyphRect:
m_X: 136
m_Y: 14
m_Width: 148
m_Height: 149
m_X: 118
m_Y: 12
m_Width: 129
m_Height: 130
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 616
m_Metrics:
m_Width: 148
m_Height: 148
m_Width: 129
m_Height: 129
m_HorizontalBearingX: 0
m_HorizontalBearingY: 129.5
m_HorizontalAdvance: 148
m_HorizontalBearingY: 112.875
m_HorizontalAdvance: 129
m_GlyphRect:
m_X: 14
m_Y: 209
m_Width: 148
m_Height: 149
m_X: 12
m_Y: 181
m_Width: 129
m_Height: 130
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 648
m_Metrics:
m_Width: 129.5
m_Height: 32.375
m_Width: 112.875
m_Height: 28.21875
m_HorizontalBearingX: 0
m_HorizontalBearingY: 71.6875
m_HorizontalAdvance: 129.5
m_HorizontalBearingY: 62.484375
m_HorizontalAdvance: 112.875
m_GlyphRect:
m_X: 328
m_Y: 408
m_Width: 130
m_Height: 33
m_X: 12
m_Y: 471
m_Width: 113
m_Height: 29
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 864
m_Metrics:
m_Width: 94.25
m_Height: 167.375
m_HorizontalBearingX: -0.875
m_HorizontalBearingY: 138.75
m_HorizontalAdvance: 92.5
m_Width: 82.125
m_Height: 145.875
m_HorizontalBearingX: -0.75
m_HorizontalBearingY: 120.9375
m_HorizontalAdvance: 80.625
m_GlyphRect:
m_X: 14
m_Y: 14
m_Width: 95
m_Height: 168
m_X: 12
m_Y: 12
m_Width: 83
m_Height: 146
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
@@ -325,6 +340,10 @@ MonoBehaviour:
m_Unicode: 61452
m_GlyphIndex: 422
m_Scale: 1
- m_ElementType: 1
m_Unicode: 61453
m_GlyphIndex: 423
m_Scale: 1
- m_ElementType: 1
m_Unicode: 61516
m_GlyphIndex: 474
@@ -369,86 +388,94 @@ MonoBehaviour:
m_ClearDynamicDataOnBuild: 0
m_AtlasWidth: 512
m_AtlasHeight: 512
m_AtlasPadding: 13
m_AtlasPadding: 11
m_AtlasRenderMode: 4165
m_UsedGlyphRects:
- m_X: 0
m_Y: 0
m_Width: 122
m_Height: 195
m_Width: 106
m_Height: 169
- m_X: 0
m_Y: 195
m_Width: 175
m_Height: 176
m_Y: 169
m_Width: 152
m_Height: 153
- m_X: 106
m_Y: 0
m_Width: 152
m_Height: 153
- m_X: 0
m_Y: 371
m_Width: 176
m_Height: 140
- m_X: 122
m_Y: 0
m_Width: 175
m_Height: 176
- m_X: 175
m_Y: 176
m_Width: 157
m_Height: 158
- m_X: 332
m_Y: 0
m_Width: 176
m_Height: 140
- m_X: 176
m_Y: 334
m_Y: 322
m_Width: 136
m_Height: 137
- m_X: 0
m_Y: 459
m_Width: 136
m_Height: 52
- m_X: 136
m_Y: 322
m_Width: 120
m_Height: 137
- m_X: 152
m_Y: 153
m_Width: 138
m_Height: 158
- m_X: 332
m_Y: 140
m_Width: 159
m_Height: 150
- m_X: 332
m_Y: 290
m_Width: 159
m_Height: 104
- m_X: 314
m_Y: 394
m_Width: 157
m_Height: 60
m_Height: 130
- m_X: 258
m_Y: 0
m_Width: 153
m_Height: 122
- m_X: 290
m_Y: 122
m_Width: 153
m_Height: 122
- m_X: 290
m_Y: 244
m_Width: 138
m_Height: 90
- m_X: 256
m_Y: 334
m_Width: 122
m_Height: 122
m_FreeGlyphRects:
- m_X: 122
m_Y: 176
m_Width: 53
m_Height: 19
- m_X: 297
- m_X: 136
m_Y: 459
m_Width: 375
m_Height: 52
- m_X: 106
m_Y: 153
m_Width: 46
m_Height: 16
- m_X: 258
m_Y: 122
m_Width: 32
m_Height: 31
- m_X: 411
m_Y: 0
m_Width: 35
m_Height: 176
- m_X: 508
m_Width: 100
m_Height: 122
- m_X: 443
m_Y: 0
m_Width: 3
m_Width: 68
m_Height: 511
- m_X: 175
- m_X: 152
m_Y: 283
m_Width: 138
m_Height: 39
- m_X: 428
m_Y: 244
m_Width: 83
m_Height: 267
- m_X: 256
m_Y: 456
m_Width: 255
m_Height: 55
- m_X: 378
m_Y: 334
m_Width: 1
m_Height: 37
- m_X: 176
m_Y: 492
m_Width: 335
m_Height: 19
- m_X: 491
m_Y: 140
m_Width: 20
m_Height: 371
- m_X: 314
m_Y: 454
m_Width: 197
m_Height: 57
- m_X: 471
m_Y: 394
m_Width: 40
m_Height: 117
- m_X: 314
m_Y: 334
m_Width: 18
m_Height: 60
m_Width: 133
m_Height: 177
- m_X: 256
m_Y: 283
m_Width: 34
m_Height: 51
m_FontFeatureTable:
m_MultipleSubstitutionRecords: []
m_LigatureSubstitutionRecords: []
@@ -552,7 +579,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 262144
_typelessdata: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010304050506070808080909090808080707060605040301000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000304040403000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040505080a0b0b0a0906060503010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000204050507070a0c0d0e0f0f1011111212121212111110100f0f0e0d0c0a070605050402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003040506090c0d0e0d0c09060504030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105080b0d0e0e1113141414120f0f0e0c0a0603000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030505090b0d0e0e1010131516171819191a1a1b1b1b1b1b1a1a191918181716151310100e0e0d0b08050402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000206090c0d0e0f121516171615120f0e0d0c090602000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105090d11131617171a1c1d1d1d1b18181715120f0b07030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000204060a0c0e0f111416171719181b1e1f2021222223232424242424232322222121201f1e1b181917171614110e0d0b080503020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001050a0e12141618181b1e1f201f1e1b18181614120e0a050100000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030505060706060402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020001030505060606060503010002010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040504030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003070b0e0f10111211100f0c090402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040606080a0c0d070b0d0f1011111110100e0b080d0b0a0807050503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030506090d0f100f0d0a06060402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001060b0c1115181a1b1c1c1b1b1916120f0c09040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003050607090c0f1011131517171115181a1b1b1c1b1b1a1815111816141311100f0d0a070504020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003080b0e10101417191a1a181511100f0c0904000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004081014151b1f2225252627262523201c1917130e080200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000305090d0f11111316191b1b1d1f21221a1f2224252626262525231f1b22211f1d1c1b1a181410100e0c080503010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001070c1115181a1b1f2224252423201b1b1916120e0802000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
+1 -1
View File
@@ -1 +1 @@
f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c
f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d
+558 -41
View File
@@ -785,6 +785,142 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 347285537}
m_CullTransparentMesh: 1
--- !u!1 &383182388
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 383182389}
- component: {fileID: 383182391}
- component: {fileID: 383182390}
m_Layer: 5
m_Name: Background
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &383182389
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 383182388}
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: 1818490498}
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 &383182390
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 383182388}
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: \uf111
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 0b50c03e48f9f20d69553c78bfe39a89, type: 2}
m_sharedMaterial: {fileID: -353727190107255236, guid: 0b50c03e48f9f20d69553c78bfe39a89, 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: 72
m_fontSizeBase: 72
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: 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}
--- !u!222 &383182391
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 383182388}
m_CullTransparentMesh: 1
--- !u!1 &432996040
GameObject:
m_ObjectHideFlags: 0
@@ -825,6 +961,82 @@ RectTransform:
m_AnchoredPosition: {x: 590, y: -37.5}
m_SizeDelta: {x: 1180, y: 75}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!1 &438920397
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 438920398}
- component: {fileID: 438920400}
- component: {fileID: 438920399}
m_Layer: 5
m_Name: OptionsPanel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 0
--- !u!224 &438920398
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 438920397}
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:
- {fileID: 1836819688}
m_Father: {fileID: 1301936380}
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 &438920399
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 438920397}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
m_Material: {fileID: 0}
m_Color: {r: 0, g: 0, b: 0, a: 0.84313726}
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: 0}
m_Type: 0
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 &438920400
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 438920397}
m_CullTransparentMesh: 1
--- !u!1 &452449949
GameObject:
m_ObjectHideFlags: 0
@@ -967,6 +1179,7 @@ MonoBehaviour:
content: {fileID: 1822440541}
sampleObject: {fileID: 432996040}
downButton: {fileID: 1187894098}
optionsPanel: {fileID: 438920397}
--- !u!1 &524691841
GameObject:
m_ObjectHideFlags: 0
@@ -1581,6 +1794,46 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 814088274}
m_CullTransparentMesh: 1
--- !u!21 &937587754
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _WidthHeightRadius: {r: 1180, g: 75, b: 20, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!1 &1187894096
GameObject:
m_ObjectHideFlags: 0
@@ -1752,7 +2005,7 @@ MonoBehaviour:
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
m_Material: {fileID: 1525814889}
m_Material: {fileID: 937587754}
m_Color: {r: 0.19607843, g: 0.19607843, b: 0.19607843, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
@@ -1827,6 +2080,7 @@ RectTransform:
- {fileID: 1488398102}
- {fileID: 1503131808}
- {fileID: 726248163}
- {fileID: 438920398}
m_Father: {fileID: 769329732}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
@@ -2292,46 +2546,6 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1503131807}
m_CullTransparentMesh: 1
--- !u!21 &1525814889
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: UI/RoundedCorners/RoundedCorners
m_Shader: {fileID: 4800000, guid: 0bd2ec5d73751e34a814274a454bec41, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _ColorMask: 15
- _Stencil: 0
- _StencilComp: 8
- _StencilOp: 0
- _StencilReadMask: 255
- _StencilWriteMask: 255
- _UseUIAlphaClip: 0
m_Colors:
- _WidthHeightRadius: {r: 1180, g: 75, b: 20, a: 0}
m_BuildTextureStacks: []
m_AllowLocking: 1
--- !u!1 &1645895618
GameObject:
m_ObjectHideFlags: 0
@@ -2885,6 +3099,97 @@ MonoBehaviour:
m_VarianceClampScale: 0.9
m_ContrastAdaptiveSharpening: 0
m_Version: 2
--- !u!1 &1818490497
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1818490498}
- component: {fileID: 1818490501}
- component: {fileID: 1818490499}
m_Layer: 5
m_Name: Button
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1818490498
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1818490497}
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:
- {fileID: 383182389}
- {fileID: 2076766880}
m_Father: {fileID: 1836819688}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 1}
m_AnchorMax: {x: 0, y: 1}
m_AnchoredPosition: {x: 20, y: -20}
m_SizeDelta: {x: 72, y: 72}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1818490499
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1818490497}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 4e29b1a8efbd4b44bb3f3716e73f07ff, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Button
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: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
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: 383182390}
m_OnClick:
m_PersistentCalls:
m_Calls: []
--- !u!222 &1818490501
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1818490497}
m_CullTransparentMesh: 1
--- !u!1 &1822440541
GameObject:
m_ObjectHideFlags: 0
@@ -2963,6 +3268,82 @@ MonoBehaviour:
m_ChildScaleWidth: 0
m_ChildScaleHeight: 0
m_ReverseArrangement: 0
--- !u!1 &1836819687
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1836819688}
- component: {fileID: 1836819690}
- component: {fileID: 1836819689}
m_Layer: 5
m_Name: Panel
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1836819688
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1836819687}
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:
- {fileID: 1818490498}
m_Father: {fileID: 438920398}
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: 0}
m_SizeDelta: {x: 800, y: 500}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1836819689
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1836819687}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier: UnityEngine.UI::UnityEngine.UI.Image
m_Material: {fileID: 0}
m_Color: {r: 0.27450982, g: 0.27450982, b: 0.27450982, 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 &1836819690
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1836819687}
m_CullTransparentMesh: 1
--- !u!1 &1865558840
GameObject:
m_ObjectHideFlags: 0
@@ -3114,6 +3495,142 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1940562850}
m_CullTransparentMesh: 1
--- !u!1 &2076766879
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 2076766880}
- component: {fileID: 2076766882}
- component: {fileID: 2076766881}
m_Layer: 5
m_Name: Texture
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &2076766880
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2076766879}
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: 1818490498}
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 &2076766881
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2076766879}
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: \uf00d
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 0b50c03e48f9f20d69553c78bfe39a89, type: 2}
m_sharedMaterial: {fileID: -353727190107255236, guid: 0b50c03e48f9f20d69553c78bfe39a89, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4278190080
m_fontColor: {r: 0, g: 0, b: 0, 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: 48
m_fontSizeBase: 48
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: 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}
--- !u!222 &2076766882
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2076766879}
m_CullTransparentMesh: 1
--- !u!1 &2113588832
GameObject:
m_ObjectHideFlags: 0
+11 -2
View File
@@ -13,6 +13,8 @@ using UnityEngine.UI;
public class ChatroomMenu : MonoBehaviour
{
private readonly static WaitForSeconds _waitForSeconds2 = new(2f);
private readonly static WaitForSeconds _waitForSeconds3 = new(3f);
public TMP_Text statusText;
public Button backButton;
public Button sendButton;
@@ -24,6 +26,7 @@ public class ChatroomMenu : MonoBehaviour
private Coroutine refreshLoopRoutine;
private bool shouldScrollToBottom = true;
public Button downButton;
public GameObject optionsPanel;
void Start()
{
@@ -46,7 +49,7 @@ public class ChatroomMenu : MonoBehaviour
while (true)
{
Refresh();
yield return new WaitForSeconds(3f);
yield return _waitForSeconds3;
}
}
@@ -146,7 +149,7 @@ public class ChatroomMenu : MonoBehaviour
yield return null;
}
yield return new WaitForSeconds(2f);
yield return _waitForSeconds2;
t = 0f;
while (t < 0.5f)
@@ -257,6 +260,7 @@ public class ChatroomMenu : MonoBehaviour
playerIcon.color = Color.white;
playerOverlayIcon.color = Color.white;
}
optionsButton.onClick.AddListener(OptionsButtonClick);
rowInfo.name = "ChatroomRow_" + id + "_" + uid;
var entryComponet = rowInfo.AddComponent<ChatroomMenuEntry>();
entryComponet.Init(bgImg, optionsButton, localUserId != null && uid == localUserId);
@@ -286,4 +290,9 @@ public class ChatroomMenu : MonoBehaviour
yield return new WaitForEndOfFrame();
content.transform.localPosition = new UnityEngine.Vector2(0f, content.GetComponent<RectTransform>().sizeDelta.y);
}
void OptionsButtonClick()
{
optionsPanel.SetActive(true);
}
}