Added Graphics Settings

This commit is contained in:
Zoe J committed 2022-02-20 20:15:05 -06:00
1 parent 70f8c81cdf
commit 0ef0e6388f
11 files changed
+5421 -197

No files matched your search

@@ -112,6 +112,20 @@ MonoBehaviour:
m_Height: 65
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 71
m_Metrics:
m_Width: 31.046875
m_Height: 63
m_HorizontalBearingX: 3.6875
m_HorizontalBearingY: 63
m_HorizontalAdvance: 38.4375
m_GlyphRect:
m_X: 111
m_Y: 369
m_Width: 32
m_Height: 63
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 77
m_Metrics:
m_Width: 30.0625
@@ -154,6 +168,20 @@ MonoBehaviour:
m_Height: 65
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 105
m_Metrics:
m_Width: 30.609375
m_Height: 63
m_HorizontalBearingX: 1.078125
m_HorizontalBearingY: 63
m_HorizontalAdvance: 32.765625
m_GlyphRect:
m_X: 159
m_Y: 177
m_Width: 31
m_Height: 63
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 111
m_Metrics:
m_Width: 29.515625
@@ -350,6 +378,20 @@ MonoBehaviour:
m_Height: 64
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 263
m_Metrics:
m_Width: 47.4375
m_Height: 63
m_HorizontalBearingX: 1.34375
m_HorizontalBearingY: 63
m_HorizontalAdvance: 50.125
m_GlyphRect:
m_X: 121
m_Y: 286
m_Width: 48
m_Height: 63
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 268
m_Metrics:
m_Width: 34.5625
@@ -413,6 +455,10 @@ MonoBehaviour:
m_Unicode: 71
m_GlyphIndex: 39
m_Scale: 1
- m_ElementType: 1
m_Unicode: 78
m_GlyphIndex: 71
m_Scale: 1
- m_ElementType: 1
m_Unicode: 79
m_GlyphIndex: 77
@@ -425,6 +471,10 @@ MonoBehaviour:
m_Unicode: 83
m_GlyphIndex: 97
m_Scale: 1
- m_ElementType: 1
m_Unicode: 84
m_GlyphIndex: 105
m_Scale: 1
- m_ElementType: 1
m_Unicode: 85
m_GlyphIndex: 111
@@ -485,6 +535,10 @@ MonoBehaviour:
m_Unicode: 117
m_GlyphIndex: 251
m_Scale: 1
- m_ElementType: 1
m_Unicode: 119
m_GlyphIndex: 263
m_Scale: 1
- m_ElementType: 1
m_Unicode: 120
m_GlyphIndex: 268
@@ -595,6 +649,18 @@ MonoBehaviour:
m_Y: 523
m_Width: 49
m_Height: 84
- m_X: 101
m_Y: 359
m_Width: 51
m_Height: 82
- m_X: 111
m_Y: 276
m_Width: 67
m_Height: 82
- m_X: 149
m_Y: 167
m_Width: 50
m_Height: 82
m_FreeGlyphRects:
- m_X: 60
m_Y: 28
@@ -608,34 +674,14 @@ MonoBehaviour:
m_Y: 28
m_Width: 5
m_Height: 83
- m_X: 100
m_Y: 276
m_Width: 923
m_Height: 1
- m_X: 111
m_Y: 276
m_Width: 912
m_Height: 747
- m_X: 101
m_Y: 83
m_Width: 30
m_Height: 28
- m_X: 131
m_Y: 167
m_Width: 892
m_Height: 26
- m_X: 149
m_Y: 167
m_Width: 874
m_Height: 856
- m_X: 155
m_Y: 82
m_Width: 868
m_Height: 1
- m_X: 181
m_Y: 82
m_Width: 842
m_Height: 941
- m_X: 206
m_Y: 0
m_Width: 817
@@ -648,14 +694,6 @@ MonoBehaviour:
m_Y: 691
m_Width: 970
m_Height: 332
- m_X: 101
m_Y: 359
m_Width: 922
m_Height: 82
- m_X: 106
m_Y: 359
m_Width: 917
m_Height: 664
- m_X: 51
m_Y: 607
m_Width: 972
@@ -668,6 +706,42 @@ MonoBehaviour:
m_Y: 523
m_Width: 923
m_Height: 500
- m_X: 106
m_Y: 441
m_Width: 917
m_Height: 582
- m_X: 100
m_Y: 276
m_Width: 11
m_Height: 1
- m_X: 111
m_Y: 358
m_Width: 912
m_Height: 1
- m_X: 152
m_Y: 358
m_Width: 871
m_Height: 665
- m_X: 131
m_Y: 167
m_Width: 18
m_Height: 26
- m_X: 181
m_Y: 82
m_Width: 842
m_Height: 85
- m_X: 199
m_Y: 82
m_Width: 824
m_Height: 941
- m_X: 149
m_Y: 249
m_Width: 874
m_Height: 27
- m_X: 178
m_Y: 249
m_Width: 845
m_Height: 774
m_fontInfo:
Name:
PointSize: 0
@@ -891,7 +965,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 1048576
_typelessdata: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030608091313131313131313130b0a0807090a1313131313131313130a0907080a0b131313131313131313090806030000000000000000000000000001050708080808080808080808080808080808080808080808080808080807050100000000000000000000000000000000000000000000010507070b0e0f10111211100e0b080705020000000000000000000000000000000000000000000004080a0a1313131313131313130e0d0b0803000000040607131313131313131313130706040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040a0f1315162020202020202020201716141316162020202020202020201616131416172020202020202020201615130f0a0400000000000000000002080d111414141414141414141414141414141414141414141414141414141414110d080200000000000000000000000000000000000002080d111314171b1c1d1e1e1d1c1b181514120e0903000000000000000000000000000000000000050b101416172020202020202020201b1a18140f08070c101314202020202020202020201413110d080100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030608091313131313131313130b0a0807090a1313131313131313130a0907080a0b131313131313131313090806030000000000000000000000000001050708080808080808080808080808080808080808080808080808080807050100000000000000000000000000000000000000000000010507070b0e0f10111211100e0b080705020000000000000000000000000000000000000000000004080a0a1313131313131313130e0d0b0803000000040607131313131313131313130706040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040a0f1315162020202020202020201716141316162020202020202020201616131416172020202020202020201615130f0a0400000000000000000002080d111414141414141414141414141414141414141414141414141414141414110d080200000000000000000000000000000000000002080d111314171b1c1d1e1e1d1c1b181514120e0903000000000000000000000000000000000000050b101416172020202020202020201b1a18140f08070c101314202020202020202020201413110d080100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 8bd1780577b8eaf43ad60554189eb11e
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
File diff suppressed because it is too large. Load diff
@@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 1a720ceb9285174499a73898e09bd868
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 11400000
userData:
assetBundleName:
assetBundleVariant:
@@ -190,175 +190,19 @@ MonoBehaviour:
m_StrikethroughOffset: 18
m_StrikethroughThickness: 6.298828
m_TabWidth: 24
m_GlyphTable:
- m_Index: 54
m_Metrics:
m_Width: 51
m_Height: 61
m_HorizontalBearingX: 3
m_HorizontalBearingY: 60
m_HorizontalAdvance: 57
m_GlyphRect:
m_X: 163
m_Y: 10
m_Width: 51
m_Height: 61
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 66
m_Metrics:
m_Width: 51
m_Height: 6
m_HorizontalBearingX: -2
m_HorizontalBearingY: -12
m_HorizontalAdvance: 48
m_GlyphRect:
m_X: 93
m_Y: 10
m_Width: 51
m_Height: 6
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 68
m_Metrics:
m_Width: 45
m_Height: 47
m_HorizontalBearingX: 3
m_HorizontalBearingY: 46
m_HorizontalAdvance: 48
m_GlyphRect:
m_X: 10
m_Y: 38
m_Width: 45
m_Height: 47
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 85
m_Metrics:
m_Width: 23
m_Height: 46
m_HorizontalBearingX: 5
m_HorizontalBearingY: 46
m_HorizontalAdvance: 29
m_GlyphRect:
m_X: 10
m_Y: 104
m_Width: 23
m_Height: 46
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 87
m_Metrics:
m_Width: 23
m_Height: 56
m_HorizontalBearingX: 1
m_HorizontalBearingY: 55
m_HorizontalAdvance: 24
m_GlyphRect:
m_X: 93
m_Y: 35
m_Width: 23
m_Height: 56
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 2030
m_Metrics:
m_Width: 64
m_Height: 9
m_HorizontalBearingX: 11
m_HorizontalBearingY: 9
m_HorizontalAdvance: 86
m_GlyphRect:
m_X: 10
m_Y: 10
m_Width: 64
m_Height: 9
m_Scale: 1
m_AtlasIndex: 0
m_CharacterTable:
- m_ElementType: 1
m_Unicode: 83
m_GlyphIndex: 54
m_Scale: 1
- m_ElementType: 1
m_Unicode: 95
m_GlyphIndex: 66
m_Scale: 1
- m_ElementType: 1
m_Unicode: 97
m_GlyphIndex: 68
m_Scale: 1
- m_ElementType: 1
m_Unicode: 114
m_GlyphIndex: 85
m_Scale: 1
- m_ElementType: 1
m_Unicode: 116
m_GlyphIndex: 87
m_Scale: 1
- m_ElementType: 1
m_Unicode: 8230
m_GlyphIndex: 2030
m_Scale: 1
m_GlyphTable: []
m_CharacterTable: []
m_AtlasTextures:
- {fileID: 28268798066460806}
m_AtlasTextureIndex: 0
m_IsMultiAtlasTexturesEnabled: 0
m_ClearDynamicDataOnBuild: 1
m_UsedGlyphRects:
- m_X: 0
m_Y: 0
m_Width: 83
m_Height: 28
- m_X: 83
m_Y: 0
m_Width: 70
m_Height: 25
- m_X: 153
m_Y: 0
m_Width: 70
m_Height: 80
- m_X: 83
m_Y: 25
m_Width: 42
m_Height: 75
- m_X: 0
m_Y: 28
m_Width: 64
m_Height: 66
- m_X: 0
m_Y: 94
m_Width: 42
m_Height: 65
m_UsedGlyphRects: []
m_FreeGlyphRects:
- m_X: 223
m_Y: 0
m_Width: 288
m_Height: 511
- m_X: 125
m_Y: 80
m_Width: 386
m_Height: 431
- m_X: 125
m_Y: 25
m_Width: 28
m_Height: 486
- m_X: 64
m_Y: 28
m_Width: 19
m_Height: 483
- m_X: 0
m_Y: 159
m_Y: 0
m_Width: 511
m_Height: 352
- m_X: 42
m_Y: 100
m_Width: 469
m_Height: 411
- m_X: 42
m_Y: 94
m_Width: 41
m_Height: 417
m_Height: 511
m_fontInfo:
Name: Liberation Sans
PointSize: 86
@@ -472,9 +316,9 @@ Texture2D:
m_DownscaleFallback: 0
m_IsAlphaChannelOptional: 0
serializedVersion: 2
m_Width: 512
m_Height: 512
m_CompleteImageSize: 262144
m_Width: 0
m_Height: 0
m_CompleteImageSize: 0
m_MipsStripped: 0
m_TextureFormat: 1
m_MipCount: 1
@@ -498,8 +342,8 @@ Texture2D:
m_LightmapFormat: 0
m_ColorSpace: 0
m_PlatformBlob:
image data: 262144
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004080a0b1313131313131311110e0b060100000000000000000004090e11121313131313131313070705010000000000000000000000060b0e1011131313131313130a0a080400000000000000000000000000020507080c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0c0b09060100000000000000000000000000000000000000000000000000000000020507080a0d0e10111212131313131211100f0d0b0907060400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050c11141717202020202020201e1d1b17120c0400000000000000080f151a1d1f20202020202020201413110d080200000000000000040b11171a1d1e20202020202020171614100b0500000000000000000003090e12141519191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191919191816120d070000000000000000000000000000000000000000000000000406090e12141517191b1d1e1f1f2020201f1f1e1d1c1a18161312100c07050200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000810171c2123242d2d2d2d2d2d2d2b2a27231d160e06000000000009121920262a2c2c2d2d2d2d2d2d2d21201d19130c050000000000050e161d22272a2a2d2d2d2d2d2d2d2423201c17100800000000000000060d141a1e2122262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262626262525221e181109010000000000000000000000000000000000000001070c1013141a1e2121242628292a2b2c2c2d2c2c2c2b2a29272522201f1c1814120e0903000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008121a22282d3031393939393939393837332e2820180e0400000008121b242b31363839393939393939392e2d2a251e160e05000000040e1720272e3336373939393939393931302d28221a11080000000000060f181f262a2d2e3232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232323232312e29231b1309000000000000000000000000000000000003090e12181d1f20252a2d2e31333536373839393939393838373534322f2d2c2823211e1a140f0b06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
image data: 0
_typelessdata:
m_StreamData:
serializedVersion: 2
offset: 0
@@ -206,6 +206,20 @@ MonoBehaviour:
m_Height: 0
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 31
m_Metrics:
m_Width: 0
m_Height: 0
m_HorizontalBearingX: 0
m_HorizontalBearingY: 0
m_HorizontalAdvance: 27.953125
m_GlyphRect:
m_X: 0
m_Y: 0
m_Width: 0
m_Height: 0
m_Scale: 1
m_AtlasIndex: 0
- m_Index: 38
m_Metrics:
m_Width: 47.1875
@@ -505,6 +519,10 @@ MonoBehaviour:
m_Unicode: 32
m_GlyphIndex: 3
m_Scale: 1
- m_ElementType: 1
m_Unicode: 60
m_GlyphIndex: 31
m_Scale: 1
- m_ElementType: 1
m_Unicode: 67
m_GlyphIndex: 38
@@ -235,7 +235,7 @@ MonoBehaviour:
m_NormalColor: {r: 0.58431375, g: 0.65882355, b: 0.58431375, a: 0.6117647}
m_HighlightedColor: {r: 0.5686275, g: 0.8588236, b: 0.41176474, a: 0.84313726}
m_PressedColor: {r: 0.13725491, g: 0.5647059, b: 0.38823533, a: 0.8784314}
m_SelectedColor: {r: 0.5686275, g: 0.8588236, b: 0.41176474, a: 1}
m_SelectedColor: {r: 0.5686275, g: 0.8588236, b: 0.41176474, a: 0.84313726}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
+100
View File
@@ -0,0 +1,100 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
using TMPro;
public class OptionsScreen : MonoBehaviour
{
public Toggle fullscreenTog, vsyncTog;
public List<ResItem> resolutions = new List<ResItem>();
private int selectedResolution;
public TMP_Text resolutionLabel;
// Start is called before the first frame update
void Start()
{
fullscreenTog.isOn = Screen.fullScreen;
if (QualitySettings.vSyncCount == 0)
{
vsyncTog.isOn = false;
} else
{
vsyncTog.isOn = true;
}
bool foundRes = false;
for (int i = 0; i < resolutions.Count; i++)
{
if (Screen.width == resolutions[i].horizontal && Screen.height == resolutions[i].vertical)
{
foundRes = true;
selectedResolution = i;
UpdateResLabel();
}
}
if (!foundRes)
{
ResItem newRes = new ResItem();
newRes.horizontal = Screen.width;
newRes.vertical = Screen.height;
resolutions.Add(newRes);
selectedResolution = resolutions.Count - 1;
UpdateResLabel();
}
}
// Update is called once per frame
void Update()
{
}
public void ResLeft()
{
selectedResolution--;
if (selectedResolution < 0)
{
selectedResolution = resolutions.Count - 1;
}
UpdateResLabel();
}
public void ResRight()
{
selectedResolution++;
if (selectedResolution > resolutions.Count - 1)
{
selectedResolution = 0;
}
UpdateResLabel();
}
public void UpdateResLabel()
{
resolutionLabel.text = resolutions[selectedResolution].horizontal.ToString() + " x " + resolutions[selectedResolution].vertical.ToString();
}
public void ApplyGraphics()
{
//Screen.fullScreen = fullscreenTog.isOn;
if (vsyncTog.isOn)
{
QualitySettings.vSyncCount = 1;
} else
{
QualitySettings.vSyncCount = 0;
}
Screen.SetResolution(resolutions[selectedResolution].horizontal, resolutions[selectedResolution].vertical, fullscreenTog.isOn);
}
}
[System.Serializable]
public class ResItem
{
public int horizontal, vertical;
}
+11
View File
@@ -0,0 +1,11 @@
fileFormatVersion: 2
guid: 447f7ce6530519346b944ce158890ad6
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
+1885 -1
View File
File diff suppressed because it is too large. Load diff