Profiles prefab and scripts
This commit is contained in:
15 files changed
+9918
-298
No files matched your search
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 376f6bb5924654b88badd308efb7db34
|
||||||
|
folderAsset: yes
|
||||||
|
DefaultImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ed502784d1f0b48ee8e614eb6d09f2fb
|
||||||
|
PrefabImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -40,7 +40,7 @@ Texture2D:
|
|||||||
m_ColorSpace: 0
|
m_ColorSpace: 0
|
||||||
m_PlatformBlob:
|
m_PlatformBlob:
|
||||||
image data: 262144
|
image data: 262144
|
||||||
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020304040506070809090a0a0b0b0b0b0c0c0c0c0b0b0b0b0a0a0909080706050404030200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010204040505080a0b0c0c0d0e0f101111121213131313141414141313131312121111100f0e0d0c0c0b0a08050504040201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002030406080a0c0c0d0d0f111314141516171818191a1a1b1b1b1b1c1c1c1c1b1b1b1b1a1a191818171615141413110f0d0d0c0c0a0806040302000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020305080a0b0c0d10121314151617191b1c1c1d1e1f202021222223232323242424242323232322222120201f1e1d1c1c1b19171615141312100d0c0b0a08050302000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
|
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020303030404040405050505050505040404040303030201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102030303040505040303020201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102020303040504050708080909090a0a0a0a0b0b0b0b0b0a0a0a0a0909090808070504050403030202010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040507080809090a0b0b0a09090807060504020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010203030506070809090a0a090b0c0d0e0f0f0f101010101011111110101010100f0f0f0e0d0c0b090a0a09090807060503030201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030508090b0c0d0e0f0f101010100f0e0e0d0c0b09070503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020405070808090b0c0d0e0e0f0f100f1112131414151515161616161616161616161615151514141312110f100f0f0e0e0d0c0b09080807050402010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020406080b0d0f111213141415161616151414141312100f0d0a0805040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
|
||||||
m_StreamData:
|
m_StreamData:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
offset: 0
|
offset: 0
|
||||||
@@ -63,24 +63,24 @@ MonoBehaviour:
|
|||||||
m_FaceIndex: 0
|
m_FaceIndex: 0
|
||||||
m_FamilyName: Font Awesome 7 Free
|
m_FamilyName: Font Awesome 7 Free
|
||||||
m_StyleName: Regular
|
m_StyleName: Regular
|
||||||
m_PointSize: 224
|
m_PointSize: 211
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_UnitsPerEM: 512
|
m_UnitsPerEM: 512
|
||||||
m_LineHeight: 223.99998
|
m_LineHeight: 210.99998
|
||||||
m_AscentLine: 195.99998
|
m_AscentLine: 184.625
|
||||||
m_CapLine: 182
|
m_CapLine: 172
|
||||||
m_MeanLine: 184
|
m_MeanLine: 173
|
||||||
m_Baseline: 0
|
m_Baseline: 0
|
||||||
m_DescentLine: -27.999998
|
m_DescentLine: -26.374998
|
||||||
m_SuperscriptOffset: 195.99998
|
m_SuperscriptOffset: 184.625
|
||||||
m_SuperscriptSize: 0.5
|
m_SuperscriptSize: 0.5
|
||||||
m_SubscriptOffset: -27.999998
|
m_SubscriptOffset: -26.374998
|
||||||
m_SubscriptSize: 0.5
|
m_SubscriptSize: 0.5
|
||||||
m_UnderlineOffset: 0
|
m_UnderlineOffset: 0
|
||||||
m_UnderlineThickness: 0
|
m_UnderlineThickness: 0
|
||||||
m_StrikethroughOffset: 73.6
|
m_StrikethroughOffset: 69.2
|
||||||
m_StrikethroughThickness: 0
|
m_StrikethroughThickness: 0
|
||||||
m_TabWidth: 112
|
m_TabWidth: 106
|
||||||
m_Material: {fileID: 3453732582505298218}
|
m_Material: {fileID: 3453732582505298218}
|
||||||
m_SourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
|
m_SourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
|
||||||
m_CreationSettings:
|
m_CreationSettings:
|
||||||
@@ -88,16 +88,16 @@ MonoBehaviour:
|
|||||||
sourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
|
sourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
|
||||||
faceIndex: 0
|
faceIndex: 0
|
||||||
pointSizeSamplingMode: 0
|
pointSizeSamplingMode: 0
|
||||||
pointSize: 224
|
pointSize: 211
|
||||||
padding: 15
|
padding: 21
|
||||||
paddingMode: 1
|
paddingMode: 1
|
||||||
packingMode: 0
|
packingMode: 0
|
||||||
atlasWidth: 512
|
atlasWidth: 512
|
||||||
atlasHeight: 512
|
atlasHeight: 512
|
||||||
characterSetSelectionMode: 6
|
characterSetSelectionMode: 6
|
||||||
characterSequence: f111,f024,f0c5
|
characterSequence: f111,f024,f0c5,f075
|
||||||
referencedFontAssetGUID:
|
referencedFontAssetGUID:
|
||||||
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
|
referencedTextAssetGUID:
|
||||||
fontStyle: 0
|
fontStyle: 0
|
||||||
fontStyleModifier: 0
|
fontStyleModifier: 0
|
||||||
renderMode: 4165
|
renderMode: 4165
|
||||||
@@ -109,46 +109,61 @@ MonoBehaviour:
|
|||||||
m_GlyphTable:
|
m_GlyphTable:
|
||||||
- m_Index: 47
|
- m_Index: 47
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 196
|
m_Width: 184.625
|
||||||
m_Height: 224
|
m_Height: 211
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 196
|
m_HorizontalBearingY: 184.625
|
||||||
m_HorizontalAdvance: 196
|
m_HorizontalAdvance: 184.625
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 16
|
m_X: 276
|
||||||
m_Y: 271
|
m_Y: 22
|
||||||
m_Width: 196
|
m_Width: 185
|
||||||
m_Height: 224
|
m_Height: 212
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 59
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 211
|
||||||
|
m_Height: 211
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 184.625
|
||||||
|
m_HorizontalAdvance: 211
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 22
|
||||||
|
m_Y: 277
|
||||||
|
m_Width: 211
|
||||||
|
m_Height: 212
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 73
|
- m_Index: 73
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 196
|
m_Width: 184.625
|
||||||
m_Height: 224
|
m_Height: 211
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 196
|
m_HorizontalBearingY: 184.625
|
||||||
m_HorizontalAdvance: 196
|
m_HorizontalAdvance: 184.625
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 243
|
m_X: 276
|
||||||
m_Y: 271
|
m_Y: 277
|
||||||
m_Width: 196
|
m_Width: 185
|
||||||
m_Height: 224
|
m_Height: 212
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 83
|
- m_Index: 83
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 224
|
m_Width: 211
|
||||||
m_Height: 224
|
m_Height: 211
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 196
|
m_HorizontalBearingY: 184.625
|
||||||
m_HorizontalAdvance: 224
|
m_HorizontalAdvance: 211
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 16
|
m_X: 22
|
||||||
m_Y: 16
|
m_Y: 22
|
||||||
m_Width: 224
|
m_Width: 211
|
||||||
m_Height: 224
|
m_Height: 212
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
@@ -157,6 +172,10 @@ MonoBehaviour:
|
|||||||
m_Unicode: 61476
|
m_Unicode: 61476
|
||||||
m_GlyphIndex: 47
|
m_GlyphIndex: 47
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61557
|
||||||
|
m_GlyphIndex: 59
|
||||||
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 61637
|
m_Unicode: 61637
|
||||||
m_GlyphIndex: 73
|
m_GlyphIndex: 73
|
||||||
@@ -173,33 +192,33 @@ MonoBehaviour:
|
|||||||
m_ClearDynamicDataOnBuild: 0
|
m_ClearDynamicDataOnBuild: 0
|
||||||
m_AtlasWidth: 512
|
m_AtlasWidth: 512
|
||||||
m_AtlasHeight: 512
|
m_AtlasHeight: 512
|
||||||
m_AtlasPadding: 15
|
m_AtlasPadding: 21
|
||||||
m_AtlasRenderMode: 4165
|
m_AtlasRenderMode: 4165
|
||||||
m_UsedGlyphRects:
|
m_UsedGlyphRects:
|
||||||
- m_X: 0
|
- m_X: 0
|
||||||
m_Y: 0
|
m_Y: 0
|
||||||
m_Width: 255
|
m_Width: 254
|
||||||
m_Height: 255
|
m_Height: 255
|
||||||
- m_X: 0
|
- m_X: 0
|
||||||
m_Y: 255
|
m_Y: 255
|
||||||
m_Width: 227
|
m_Width: 254
|
||||||
m_Height: 255
|
m_Height: 255
|
||||||
- m_X: 227
|
- m_X: 254
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 228
|
||||||
|
m_Height: 255
|
||||||
|
- m_X: 254
|
||||||
m_Y: 255
|
m_Y: 255
|
||||||
m_Width: 227
|
m_Width: 228
|
||||||
m_Height: 255
|
m_Height: 255
|
||||||
m_FreeGlyphRects:
|
m_FreeGlyphRects:
|
||||||
- m_X: 0
|
- m_X: 0
|
||||||
m_Y: 510
|
m_Y: 510
|
||||||
m_Width: 511
|
m_Width: 511
|
||||||
m_Height: 1
|
m_Height: 1
|
||||||
- m_X: 255
|
- m_X: 482
|
||||||
m_Y: 0
|
m_Y: 0
|
||||||
m_Width: 256
|
m_Width: 29
|
||||||
m_Height: 255
|
|
||||||
- m_X: 454
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 57
|
|
||||||
m_Height: 511
|
m_Height: 511
|
||||||
m_FontFeatureTable:
|
m_FontFeatureTable:
|
||||||
m_MultipleSubstitutionRecords: []
|
m_MultipleSubstitutionRecords: []
|
||||||
@@ -327,7 +346,7 @@ Material:
|
|||||||
- _GlowOffset: 0
|
- _GlowOffset: 0
|
||||||
- _GlowOuter: 0.05
|
- _GlowOuter: 0.05
|
||||||
- _GlowPower: 0.75
|
- _GlowPower: 0.75
|
||||||
- _GradientScale: 16
|
- _GradientScale: 22
|
||||||
- _LightAngle: 3.1416
|
- _LightAngle: 3.1416
|
||||||
- _MaskSoftnessX: 0
|
- _MaskSoftnessX: 0
|
||||||
- _MaskSoftnessY: 0
|
- _MaskSoftnessY: 0
|
||||||
@@ -337,9 +356,9 @@ Material:
|
|||||||
- _OutlineWidth: 0
|
- _OutlineWidth: 0
|
||||||
- _PerspectiveFilter: 0.875
|
- _PerspectiveFilter: 0.875
|
||||||
- _Reflectivity: 10
|
- _Reflectivity: 10
|
||||||
- _ScaleRatioA: 0.9375
|
- _ScaleRatioA: 0.95454544
|
||||||
- _ScaleRatioB: 0.76171875
|
- _ScaleRatioB: 0.7755682
|
||||||
- _ScaleRatioC: 0.76171875
|
- _ScaleRatioC: 0.7755682
|
||||||
- _ScaleX: 1
|
- _ScaleX: 1
|
||||||
- _ScaleY: 1
|
- _ScaleY: 1
|
||||||
- _ShaderFlags: 0
|
- _ShaderFlags: 0
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f111,f024,f0c5
|
f111,f024,f0c5,f075
|
||||||
@@ -63,7 +63,7 @@ Material:
|
|||||||
- _GlowOffset: 0
|
- _GlowOffset: 0
|
||||||
- _GlowOuter: 0.05
|
- _GlowOuter: 0.05
|
||||||
- _GlowPower: 0.75
|
- _GlowPower: 0.75
|
||||||
- _GradientScale: 8
|
- _GradientScale: 11
|
||||||
- _LightAngle: 3.1416
|
- _LightAngle: 3.1416
|
||||||
- _MaskSoftnessX: 0
|
- _MaskSoftnessX: 0
|
||||||
- _MaskSoftnessY: 0
|
- _MaskSoftnessY: 0
|
||||||
@@ -73,9 +73,9 @@ Material:
|
|||||||
- _OutlineWidth: 0
|
- _OutlineWidth: 0
|
||||||
- _PerspectiveFilter: 0.875
|
- _PerspectiveFilter: 0.875
|
||||||
- _Reflectivity: 10
|
- _Reflectivity: 10
|
||||||
- _ScaleRatioA: 0.875
|
- _ScaleRatioA: 0.90909094
|
||||||
- _ScaleRatioB: 0.7109375
|
- _ScaleRatioB: 0.7386364
|
||||||
- _ScaleRatioC: 0.7109375
|
- _ScaleRatioC: 0.7386364
|
||||||
- _ScaleX: 1
|
- _ScaleX: 1
|
||||||
- _ScaleY: 1
|
- _ScaleY: 1
|
||||||
- _ShaderFlags: 0
|
- _ShaderFlags: 0
|
||||||
@@ -126,24 +126,24 @@ MonoBehaviour:
|
|||||||
m_FaceIndex: 0
|
m_FaceIndex: 0
|
||||||
m_FamilyName: Font Awesome 7 Free
|
m_FamilyName: Font Awesome 7 Free
|
||||||
m_StyleName: Solid
|
m_StyleName: Solid
|
||||||
m_PointSize: 126
|
m_PointSize: 108
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_UnitsPerEM: 512
|
m_UnitsPerEM: 512
|
||||||
m_LineHeight: 125.99999
|
m_LineHeight: 108
|
||||||
m_AscentLine: 110.24999
|
m_AscentLine: 94.5
|
||||||
m_CapLine: 103
|
m_CapLine: 88
|
||||||
m_MeanLine: 104
|
m_MeanLine: 89
|
||||||
m_Baseline: 0
|
m_Baseline: 0
|
||||||
m_DescentLine: -15.749999
|
m_DescentLine: -13.5
|
||||||
m_SuperscriptOffset: 110.24999
|
m_SuperscriptOffset: 94.5
|
||||||
m_SuperscriptSize: 0.5
|
m_SuperscriptSize: 0.5
|
||||||
m_SubscriptOffset: -15.749999
|
m_SubscriptOffset: -13.5
|
||||||
m_SubscriptSize: 0.5
|
m_SubscriptSize: 0.5
|
||||||
m_UnderlineOffset: 0
|
m_UnderlineOffset: 0
|
||||||
m_UnderlineThickness: 0
|
m_UnderlineThickness: 0
|
||||||
m_StrikethroughOffset: 41.6
|
m_StrikethroughOffset: 35.6
|
||||||
m_StrikethroughThickness: 0
|
m_StrikethroughThickness: 0
|
||||||
m_TabWidth: 63
|
m_TabWidth: 54
|
||||||
m_Material: {fileID: -353727190107255236}
|
m_Material: {fileID: -353727190107255236}
|
||||||
m_SourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
m_SourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
||||||
m_CreationSettings:
|
m_CreationSettings:
|
||||||
@@ -151,16 +151,16 @@ MonoBehaviour:
|
|||||||
sourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
sourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
||||||
faceIndex: 0
|
faceIndex: 0
|
||||||
pointSizeSamplingMode: 0
|
pointSizeSamplingMode: 0
|
||||||
pointSize: 126
|
pointSize: 108
|
||||||
padding: 7
|
padding: 10
|
||||||
paddingMode: 1
|
paddingMode: 1
|
||||||
packingMode: 0
|
packingMode: 0
|
||||||
atlasWidth: 512
|
atlasWidth: 512
|
||||||
atlasHeight: 512
|
atlasHeight: 512
|
||||||
characterSetSelectionMode: 6
|
characterSetSelectionMode: 6
|
||||||
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d,f303,f2ed,f0b0
|
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d,f303,f2ed,f0b0,f2bd,f164,f165
|
||||||
referencedFontAssetGUID:
|
referencedFontAssetGUID:
|
||||||
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
|
referencedTextAssetGUID:
|
||||||
fontStyle: 0
|
fontStyle: 0
|
||||||
fontStyleModifier: 0
|
fontStyleModifier: 0
|
||||||
renderMode: 4165
|
renderMode: 4165
|
||||||
@@ -172,211 +172,256 @@ MonoBehaviour:
|
|||||||
m_GlyphTable:
|
m_GlyphTable:
|
||||||
- m_Index: 422
|
- m_Index: 422
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 111.96875
|
m_Width: 95.984375
|
||||||
m_Height: 103.609375
|
m_Height: 88.8125
|
||||||
m_HorizontalBearingX: -0.734375
|
m_HorizontalBearingX: -0.640625
|
||||||
m_HorizontalBearingY: 95.484375
|
m_HorizontalBearingY: 81.84375
|
||||||
m_HorizontalAdvance: 110.25
|
m_HorizontalAdvance: 94.5
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 389
|
m_X: 266
|
||||||
m_Y: 8
|
m_Y: 261
|
||||||
m_Width: 113
|
m_Width: 97
|
||||||
m_Height: 105
|
m_Height: 89
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 423
|
- m_Index: 423
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 96.21875
|
m_Width: 82.484375
|
||||||
m_Height: 95.96875
|
m_Height: 82.28125
|
||||||
m_HorizontalBearingX: -0.734375
|
m_HorizontalBearingX: -0.640625
|
||||||
m_HorizontalBearingY: 95.234375
|
m_HorizontalBearingY: 81.640625
|
||||||
m_HorizontalAdvance: 94.5
|
m_HorizontalAdvance: 81
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 275
|
m_X: 384
|
||||||
m_Y: 135
|
m_Y: 355
|
||||||
m_Width: 97
|
m_Width: 83
|
||||||
m_Height: 97
|
m_Height: 83
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 474
|
- m_Index: 474
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 94.5
|
m_Width: 81
|
||||||
m_Height: 110.25
|
m_Height: 94.5
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 102.375
|
m_HorizontalBearingY: 87.75
|
||||||
m_HorizontalAdvance: 94.5
|
m_HorizontalAdvance: 81
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 275
|
m_X: 257
|
||||||
m_Y: 247
|
m_Y: 391
|
||||||
m_Width: 95
|
m_Width: 81
|
||||||
m_Height: 111
|
m_Height: 95
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 490
|
- m_Index: 490
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 126.734375
|
m_Width: 108.640625
|
||||||
m_Height: 95.96875
|
m_Height: 82.28125
|
||||||
m_HorizontalBearingX: -0.734375
|
m_HorizontalBearingX: -0.640625
|
||||||
m_HorizontalBearingY: 95.234375
|
m_HorizontalBearingY: 81.640625
|
||||||
m_HorizontalAdvance: 126
|
m_HorizontalAdvance: 108
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 291
|
m_X: 382
|
||||||
m_Y: 373
|
m_Y: 128
|
||||||
m_Width: 127
|
m_Width: 109
|
||||||
m_Height: 97
|
m_Height: 83
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 491
|
- m_Index: 491
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 126.734375
|
m_Width: 108.640625
|
||||||
m_Height: 95.96875
|
m_Height: 82.28125
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 95.234375
|
m_HorizontalBearingY: 81.640625
|
||||||
m_HorizontalAdvance: 126
|
m_HorizontalAdvance: 108
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 149
|
m_X: 11
|
||||||
m_Y: 373
|
m_Y: 418
|
||||||
m_Width: 127
|
m_Width: 109
|
||||||
m_Height: 97
|
m_Height: 83
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 510
|
- m_Index: 510
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 111.71875
|
m_Width: 95.78125
|
||||||
m_Height: 64.46875
|
m_Height: 55.265625
|
||||||
m_HorizontalBearingX: -0.734375
|
m_HorizontalBearingX: -0.640625
|
||||||
m_HorizontalBearingY: 87.359375
|
m_HorizontalBearingY: 74.890625
|
||||||
m_HorizontalAdvance: 110.25
|
m_HorizontalAdvance: 94.5
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 389
|
m_X: 384
|
||||||
m_Y: 128
|
m_Y: 232
|
||||||
m_Width: 112
|
m_Width: 97
|
||||||
m_Height: 66
|
m_Height: 56
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 550
|
- m_Index: 550
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 127.46875
|
m_Width: 109.28125
|
||||||
m_Height: 110.984375
|
m_Height: 95.140625
|
||||||
m_HorizontalBearingX: -0.734375
|
m_HorizontalBearingX: -0.640625
|
||||||
m_HorizontalBearingY: 94.5
|
m_HorizontalBearingY: 81
|
||||||
m_HorizontalAdvance: 126
|
m_HorizontalAdvance: 108
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 246
|
m_X: 382
|
||||||
m_Y: 8
|
m_Y: 11
|
||||||
m_Width: 128
|
m_Width: 110
|
||||||
m_Height: 112
|
m_Height: 96
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 561
|
- m_Index: 561
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 110.25
|
m_Width: 94.5
|
||||||
m_Height: 110.25
|
m_Height: 94.5
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 102.375
|
m_HorizontalBearingY: 87.75
|
||||||
m_HorizontalAdvance: 110.25
|
m_HorizontalAdvance: 94.5
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 387
|
m_X: 141
|
||||||
m_Y: 209
|
m_Y: 391
|
||||||
m_Width: 111
|
m_Width: 95
|
||||||
m_Height: 111
|
m_Height: 95
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 580
|
- m_Index: 580
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 126
|
m_Width: 108
|
||||||
m_Height: 126
|
m_Height: 108
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 110.25
|
m_HorizontalBearingY: 94.5
|
||||||
m_HorizontalAdvance: 126
|
m_HorizontalAdvance: 108
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 134
|
m_X: 127
|
||||||
m_Y: 150
|
m_Y: 141
|
||||||
m_Width: 126
|
m_Width: 108
|
||||||
m_Height: 127
|
m_Height: 109
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 616
|
- m_Index: 616
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 126
|
m_Width: 108
|
||||||
m_Height: 126
|
m_Height: 108
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 110.25
|
m_HorizontalBearingY: 94.5
|
||||||
m_HorizontalAdvance: 126
|
m_HorizontalAdvance: 108
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 8
|
m_X: 11
|
||||||
m_Y: 313
|
m_Y: 288
|
||||||
m_Width: 126
|
m_Width: 108
|
||||||
m_Height: 127
|
m_Height: 109
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 648
|
- m_Index: 648
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 110.25
|
m_Width: 94.5
|
||||||
m_Height: 27.5625
|
m_Height: 23.625
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 61.03125
|
m_HorizontalBearingY: 52.3125
|
||||||
m_HorizontalAdvance: 110.25
|
m_HorizontalAdvance: 94.5
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 8
|
m_X: 384
|
||||||
m_Y: 455
|
m_Y: 309
|
||||||
m_Width: 111
|
m_Width: 95
|
||||||
m_Height: 29
|
m_Height: 25
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 678
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 104.625
|
||||||
|
m_Height: 97.875
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 91.125
|
||||||
|
m_HorizontalAdvance: 108
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 140
|
||||||
|
m_Y: 271
|
||||||
|
m_Width: 105
|
||||||
|
m_Height: 99
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 679
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 104.625
|
||||||
|
m_Height: 97.875
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 87.75
|
||||||
|
m_HorizontalAdvance: 108
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 256
|
||||||
|
m_Y: 141
|
||||||
|
m_Width: 105
|
||||||
|
m_Height: 99
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 832
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 108
|
||||||
|
m_Height: 108
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 94.5
|
||||||
|
m_HorizontalAdvance: 108
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 232
|
||||||
|
m_Y: 11
|
||||||
|
m_Width: 108
|
||||||
|
m_Height: 109
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 852
|
- m_Index: 852
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 110.25
|
m_Width: 94.5
|
||||||
m_Height: 129.9375
|
m_Height: 111.375
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 114.1875
|
m_HorizontalBearingY: 97.875
|
||||||
m_HorizontalAdvance: 110.25
|
m_HorizontalAdvance: 94.5
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 8
|
m_X: 11
|
||||||
m_Y: 167
|
m_Y: 155
|
||||||
m_Width: 111
|
m_Width: 95
|
||||||
m_Height: 131
|
m_Height: 112
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 860
|
- m_Index: 860
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 126.25
|
m_Width: 108.21875
|
||||||
m_Height: 126.5
|
m_Height: 108.4375
|
||||||
m_HorizontalBearingX: -0.25
|
m_HorizontalBearingX: -0.21875
|
||||||
m_HorizontalBearingY: 110.5
|
m_HorizontalBearingY: 94.71875
|
||||||
m_HorizontalAdvance: 126
|
m_HorizontalAdvance: 108
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 104
|
m_X: 102
|
||||||
m_Y: 8
|
m_Y: 11
|
||||||
m_Width: 127
|
m_Width: 109
|
||||||
m_Height: 127
|
m_Height: 109
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 864
|
- m_Index: 864
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 80.21875
|
m_Width: 68.78125
|
||||||
m_Height: 142.48438
|
m_Height: 122.140625
|
||||||
m_HorizontalBearingX: -0.734375
|
m_HorizontalBearingX: -0.640625
|
||||||
m_HorizontalBearingY: 118.125
|
m_HorizontalBearingY: 101.25
|
||||||
m_HorizontalAdvance: 78.75
|
m_HorizontalAdvance: 67.5
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 8
|
m_X: 11
|
||||||
m_Y: 8
|
m_Y: 11
|
||||||
m_Width: 81
|
m_Width: 70
|
||||||
m_Height: 144
|
m_Height: 123
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
@@ -425,6 +470,18 @@ MonoBehaviour:
|
|||||||
m_Unicode: 61761
|
m_Unicode: 61761
|
||||||
m_GlyphIndex: 648
|
m_GlyphIndex: 648
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61796
|
||||||
|
m_GlyphIndex: 678
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61797
|
||||||
|
m_GlyphIndex: 679
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 62141
|
||||||
|
m_GlyphIndex: 832
|
||||||
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 62189
|
m_Unicode: 62189
|
||||||
m_GlyphIndex: 852
|
m_GlyphIndex: 852
|
||||||
@@ -445,122 +502,138 @@ MonoBehaviour:
|
|||||||
m_ClearDynamicDataOnBuild: 0
|
m_ClearDynamicDataOnBuild: 0
|
||||||
m_AtlasWidth: 512
|
m_AtlasWidth: 512
|
||||||
m_AtlasHeight: 512
|
m_AtlasHeight: 512
|
||||||
m_AtlasPadding: 7
|
m_AtlasPadding: 10
|
||||||
m_AtlasRenderMode: 4165
|
m_AtlasRenderMode: 4165
|
||||||
m_UsedGlyphRects:
|
m_UsedGlyphRects:
|
||||||
- m_X: 0
|
- m_X: 0
|
||||||
m_Y: 0
|
m_Y: 0
|
||||||
m_Width: 96
|
m_Width: 91
|
||||||
m_Height: 159
|
m_Height: 144
|
||||||
- m_X: 0
|
- m_X: 0
|
||||||
m_Y: 159
|
m_Y: 144
|
||||||
|
m_Width: 116
|
||||||
|
m_Height: 133
|
||||||
|
- m_X: 91
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 130
|
||||||
|
m_Height: 130
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 277
|
||||||
|
m_Width: 129
|
||||||
|
m_Height: 130
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 407
|
||||||
|
m_Width: 130
|
||||||
|
m_Height: 104
|
||||||
|
- m_X: 116
|
||||||
|
m_Y: 130
|
||||||
|
m_Width: 129
|
||||||
|
m_Height: 130
|
||||||
|
- m_X: 221
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 129
|
||||||
|
m_Height: 130
|
||||||
|
- m_X: 129
|
||||||
|
m_Y: 260
|
||||||
m_Width: 126
|
m_Width: 126
|
||||||
m_Height: 146
|
|
||||||
- m_X: 96
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 142
|
|
||||||
m_Height: 142
|
|
||||||
- m_X: 0
|
|
||||||
m_Y: 305
|
|
||||||
m_Width: 141
|
|
||||||
m_Height: 142
|
|
||||||
- m_X: 0
|
|
||||||
m_Y: 447
|
|
||||||
m_Width: 126
|
|
||||||
m_Height: 44
|
|
||||||
- m_X: 126
|
|
||||||
m_Y: 142
|
|
||||||
m_Width: 141
|
|
||||||
m_Height: 142
|
|
||||||
- m_X: 238
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 143
|
|
||||||
m_Height: 127
|
|
||||||
- m_X: 381
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 128
|
|
||||||
m_Height: 120
|
m_Height: 120
|
||||||
- m_X: 381
|
- m_X: 245
|
||||||
m_Y: 120
|
m_Y: 130
|
||||||
m_Width: 127
|
|
||||||
m_Height: 81
|
|
||||||
- m_X: 267
|
|
||||||
m_Y: 127
|
|
||||||
m_Width: 112
|
|
||||||
m_Height: 112
|
|
||||||
- m_X: 379
|
|
||||||
m_Y: 201
|
|
||||||
m_Width: 126
|
m_Width: 126
|
||||||
m_Height: 126
|
m_Height: 120
|
||||||
- m_X: 267
|
- m_X: 371
|
||||||
m_Y: 239
|
|
||||||
m_Width: 110
|
|
||||||
m_Height: 126
|
|
||||||
- m_X: 141
|
|
||||||
m_Y: 365
|
|
||||||
m_Width: 142
|
|
||||||
m_Height: 112
|
|
||||||
- m_X: 283
|
|
||||||
m_Y: 365
|
|
||||||
m_Width: 142
|
|
||||||
m_Height: 112
|
|
||||||
m_FreeGlyphRects:
|
|
||||||
- m_X: 0
|
|
||||||
m_Y: 491
|
|
||||||
m_Width: 511
|
|
||||||
m_Height: 20
|
|
||||||
- m_X: 96
|
|
||||||
m_Y: 142
|
|
||||||
m_Width: 30
|
|
||||||
m_Height: 17
|
|
||||||
- m_X: 509
|
|
||||||
m_Y: 0
|
m_Y: 0
|
||||||
m_Width: 2
|
m_Width: 131
|
||||||
|
m_Height: 117
|
||||||
|
- m_X: 371
|
||||||
|
m_Y: 117
|
||||||
|
m_Width: 130
|
||||||
|
m_Height: 104
|
||||||
|
- m_X: 130
|
||||||
|
m_Y: 380
|
||||||
|
m_Width: 116
|
||||||
|
m_Height: 116
|
||||||
|
- m_X: 246
|
||||||
|
m_Y: 380
|
||||||
|
m_Width: 102
|
||||||
|
m_Height: 116
|
||||||
|
- m_X: 255
|
||||||
|
m_Y: 250
|
||||||
|
m_Width: 118
|
||||||
|
m_Height: 110
|
||||||
|
- m_X: 373
|
||||||
|
m_Y: 221
|
||||||
|
m_Width: 118
|
||||||
|
m_Height: 77
|
||||||
|
- m_X: 373
|
||||||
|
m_Y: 298
|
||||||
|
m_Width: 116
|
||||||
|
m_Height: 46
|
||||||
|
- m_X: 373
|
||||||
|
m_Y: 344
|
||||||
|
m_Width: 104
|
||||||
|
m_Height: 104
|
||||||
|
m_FreeGlyphRects:
|
||||||
|
- m_X: 91
|
||||||
|
m_Y: 130
|
||||||
|
m_Width: 25
|
||||||
|
m_Height: 14
|
||||||
|
- m_X: 116
|
||||||
|
m_Y: 260
|
||||||
|
m_Width: 13
|
||||||
|
m_Height: 17
|
||||||
|
- m_X: 350
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 21
|
||||||
|
m_Height: 130
|
||||||
|
- m_X: 502
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 9
|
||||||
m_Height: 511
|
m_Height: 511
|
||||||
- m_X: 508
|
- m_X: 501
|
||||||
m_Y: 120
|
m_Y: 117
|
||||||
m_Width: 3
|
m_Width: 10
|
||||||
m_Height: 391
|
m_Height: 394
|
||||||
- m_X: 238
|
- m_X: 129
|
||||||
m_Y: 127
|
m_Y: 380
|
||||||
m_Width: 29
|
m_Width: 1
|
||||||
|
m_Height: 27
|
||||||
|
- m_X: 130
|
||||||
|
m_Y: 496
|
||||||
|
m_Width: 381
|
||||||
m_Height: 15
|
m_Height: 15
|
||||||
- m_X: 505
|
- m_X: 245
|
||||||
m_Y: 201
|
m_Y: 250
|
||||||
m_Width: 6
|
m_Width: 10
|
||||||
m_Height: 310
|
m_Height: 10
|
||||||
- m_X: 379
|
- m_X: 371
|
||||||
m_Y: 127
|
m_Y: 221
|
||||||
m_Width: 2
|
m_Width: 2
|
||||||
m_Height: 74
|
m_Height: 29
|
||||||
- m_X: 126
|
- m_X: 491
|
||||||
m_Y: 284
|
m_Y: 221
|
||||||
m_Width: 141
|
m_Width: 20
|
||||||
m_Height: 21
|
m_Height: 290
|
||||||
- m_X: 126
|
- m_X: 489
|
||||||
m_Y: 477
|
m_Y: 298
|
||||||
m_Width: 385
|
m_Width: 22
|
||||||
m_Height: 34
|
m_Height: 213
|
||||||
- m_X: 126
|
- m_X: 255
|
||||||
m_Y: 447
|
m_Y: 360
|
||||||
m_Width: 15
|
m_Width: 118
|
||||||
m_Height: 64
|
m_Height: 20
|
||||||
- m_X: 141
|
- m_X: 348
|
||||||
m_Y: 284
|
m_Y: 448
|
||||||
m_Width: 126
|
m_Width: 163
|
||||||
m_Height: 81
|
m_Height: 63
|
||||||
- m_X: 377
|
- m_X: 348
|
||||||
m_Y: 327
|
m_Y: 360
|
||||||
m_Width: 134
|
m_Width: 25
|
||||||
m_Height: 38
|
m_Height: 151
|
||||||
- m_X: 425
|
- m_X: 477
|
||||||
m_Y: 327
|
m_Y: 344
|
||||||
m_Width: 86
|
m_Width: 34
|
||||||
m_Height: 184
|
m_Height: 167
|
||||||
- m_X: 377
|
|
||||||
m_Y: 239
|
|
||||||
m_Width: 2
|
|
||||||
m_Height: 126
|
|
||||||
m_FontFeatureTable:
|
m_FontFeatureTable:
|
||||||
m_MultipleSubstitutionRecords: []
|
m_MultipleSubstitutionRecords: []
|
||||||
m_LigatureSubstitutionRecords: []
|
m_LigatureSubstitutionRecords: []
|
||||||
@@ -664,7 +737,7 @@ Texture2D:
|
|||||||
m_ColorSpace: 0
|
m_ColorSpace: 0
|
||||||
m_PlatformBlob:
|
m_PlatformBlob:
|
||||||
image data: 262144
|
image data: 262144
|
||||||
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005090a0f12120f0b08060200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030405020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020506050100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005090a0e1112100d0908040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070f15181a1f22221f1b1816110b08050000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000408090e131415110d0807030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000307080d12151615110b0a0601000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060e15181a1e2121201d1917130d05000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000309131d24282a2f32322f2b2825201918140e080703000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050d1418191e232425211d1817120c040000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030b1216181d22252624211b19161008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060e141c2428292e3131302d2927221b130c0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000030e191f2a32383a3f42423f3b38352e2928231c1816120b080500000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020b111b2327292e333434312d2826211a10060000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000510192126282d32353634312a29251e120c0300000000Line truncated
|
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000104060608070705020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030507080a0a09060503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000204060708090a0a0b0b0b0b0a0a09080706040200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102080c0f1112141312100d090502000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040a0e11131316161412110f0b0705020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003050609080d1012121415151616171716161515141212100d08090605030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020507070b0c0c0906060401000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000070c0c12171a1d1d1f1e1e1c1814100d0904000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002080e14191c1e1f2122201d1c1a1612100d0906040100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000305070b0f11121413181b1d1e1f202121222323222121201f1e1d1b18131412110f0b070503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004090d1012131617171512110f0c08020000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000040911161b1c222628292b2a2927231e1b18130e07000000000000000000000000000000000000000000000000000000000000000000000000000000000000060c12171e23272a2a2d2d2b292825211e1c1814110f0c070503000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001070b0e1112161a1c1d2022222629292b2c2c2d2e2e2e2e2d2c2c2b2929262222201d1c1a1612110e0b070100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004090e14181c1e1e22Line truncated
|
||||||
m_StreamData:
|
m_StreamData:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
offset: 0
|
offset: 0
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d,f303,f2ed,f0b0
|
f309,f111,f141,f04c,f0e2,f077,f061,f060,f0c8,f00c,f00d,f303,f2ed,f0b0,f2bd,f164,f165
|
||||||
@@ -404,6 +404,19 @@ public class BazookaManager : MonoBehaviour
|
|||||||
Save();
|
Save();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//Random stuff
|
||||||
|
|
||||||
|
public void SetLikedPosts(JArray value)
|
||||||
|
{
|
||||||
|
saveFile["likedPosts"] = value;
|
||||||
|
}
|
||||||
|
|
||||||
|
public JArray GetLikedPosts()
|
||||||
|
{
|
||||||
|
if (saveFile["likedPosts"] == null) return new JArray();
|
||||||
|
return JArray.Parse(saveFile["likedPosts"].ToString());
|
||||||
|
}
|
||||||
|
|
||||||
//Bird stuff
|
//Bird stuff
|
||||||
|
|
||||||
public void SetBirdIcon(int value)
|
public void SetBirdIcon(int value)
|
||||||
|
|||||||
@@ -0,0 +1,329 @@
|
|||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Numerics;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Newtonsoft.Json.Linq;
|
||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.Networking;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
public class ProfileMenu : MonoBehaviour
|
||||||
|
{
|
||||||
|
public Button exitButton;
|
||||||
|
public Button refreshButton;
|
||||||
|
public Button postButton;
|
||||||
|
|
||||||
|
public GameObject voteOverlay;
|
||||||
|
public GameObject postOverlay;
|
||||||
|
|
||||||
|
public TMP_Text normalBerryStat;
|
||||||
|
public TMP_Text poisonBerryStat;
|
||||||
|
public TMP_Text slowBerryStat;
|
||||||
|
public TMP_Text ultraBerryStat;
|
||||||
|
public TMP_Text speedyBerryStat;
|
||||||
|
public TMP_Text coinBerryStat;
|
||||||
|
public TMP_Text randomBerryStat;
|
||||||
|
public TMP_Text antiBerryStat;
|
||||||
|
public TMP_Text coinStat;
|
||||||
|
public TMP_Text playerNameText;
|
||||||
|
public Image playerIconImage;
|
||||||
|
public Image playerOverlayImage;
|
||||||
|
public GameObject postSample;
|
||||||
|
|
||||||
|
public bool canVote = true;
|
||||||
|
|
||||||
|
|
||||||
|
void Awake()
|
||||||
|
{
|
||||||
|
exitButton.onClick.AddListener(() => Destroy(gameObject));
|
||||||
|
}
|
||||||
|
|
||||||
|
public async Task Init(
|
||||||
|
string normalBerries,
|
||||||
|
string poisonBerries,
|
||||||
|
string slowBerries,
|
||||||
|
string ultraBerries,
|
||||||
|
string speedyBerries,
|
||||||
|
string coinBerries,
|
||||||
|
string randomBerries,
|
||||||
|
string antiBerries,
|
||||||
|
string coins,
|
||||||
|
string playerName,
|
||||||
|
BigInteger playerID,
|
||||||
|
int playerIcon,
|
||||||
|
int playerOverlay,
|
||||||
|
string customIcon,
|
||||||
|
Color playerIconColor,
|
||||||
|
Color playerOverlayColor
|
||||||
|
)
|
||||||
|
{
|
||||||
|
normalBerryStat.text = normalBerries;
|
||||||
|
poisonBerryStat.text = poisonBerries;
|
||||||
|
slowBerryStat.text = slowBerries;
|
||||||
|
ultraBerryStat.text = ultraBerries;
|
||||||
|
speedyBerryStat.text = speedyBerries;
|
||||||
|
coinBerryStat.text = coinBerries;
|
||||||
|
randomBerryStat.text = randomBerries;
|
||||||
|
antiBerryStat.text = antiBerries;
|
||||||
|
coinStat.text = coins;
|
||||||
|
playerNameText.text = playerName;
|
||||||
|
|
||||||
|
if (customIcon == null)
|
||||||
|
{
|
||||||
|
playerIconImage.sprite = Resources.Load<Sprite>("Icons/Icons/bird_" + playerIcon);
|
||||||
|
if (playerIcon == 1)
|
||||||
|
{
|
||||||
|
playerIconImage.sprite = Tools.GetIconForUser(playerID);
|
||||||
|
}
|
||||||
|
playerOverlayImage.sprite = Resources.Load<Sprite>("Icons/Overlays/overlay_" + playerOverlay);
|
||||||
|
if (playerOverlay == 0)
|
||||||
|
{
|
||||||
|
playerOverlayImage.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
else if (playerOverlay == 8)
|
||||||
|
{
|
||||||
|
playerOverlayImage.transform.localPosition = new UnityEngine.Vector2(-16.56f, 14.81f);
|
||||||
|
}
|
||||||
|
else if (playerOverlay == 11)
|
||||||
|
{
|
||||||
|
playerOverlayImage.transform.localPosition = new UnityEngine.Vector2(-14.74451f, 20.39122f);
|
||||||
|
}
|
||||||
|
else if (playerOverlay == 13)
|
||||||
|
{
|
||||||
|
playerOverlayImage.transform.localPosition = new UnityEngine.Vector2(-16.54019f, 14.70365f);
|
||||||
|
}
|
||||||
|
playerIconImage.color = playerIconColor;
|
||||||
|
playerOverlayImage.color = playerOverlayColor;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Tools.RenderFromBase64(customIcon, playerIconImage);
|
||||||
|
playerOverlayImage.gameObject.SetActive(false);
|
||||||
|
}
|
||||||
|
if (BazookaManager.Instance.GetAccountID() == playerID)
|
||||||
|
{
|
||||||
|
postButton.gameObject.SetActive(true);
|
||||||
|
postButton.onClick.AddListener(UploadPostPopup);
|
||||||
|
}
|
||||||
|
|
||||||
|
Tools.RefreshHierarchy(gameObject);
|
||||||
|
refreshButton.onClick.AddListener(async () => await RefreshPosts(playerID, playerName));
|
||||||
|
await RefreshPosts(playerID, playerName);
|
||||||
|
}
|
||||||
|
|
||||||
|
async Task RefreshPosts(BigInteger playerID, string playerName)
|
||||||
|
{
|
||||||
|
exitButton.interactable = false;
|
||||||
|
refreshButton.interactable = false;
|
||||||
|
postButton.interactable = false;
|
||||||
|
foreach (Transform post in postSample.transform.parent)
|
||||||
|
{
|
||||||
|
if (post.gameObject.activeSelf)
|
||||||
|
{
|
||||||
|
Destroy(post.gameObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
EncryptedWWWForm dataForm = new();
|
||||||
|
dataForm.AddField("targetId", playerID.ToString());
|
||||||
|
using UnityWebRequest request = UnityWebRequest.Post(SensitiveInfo.SERVER_DATABASE_PREFIX + "getAccountProfileMessages.php", dataForm.form);
|
||||||
|
request.SetRequestHeader("Requester", "BerryDashClient");
|
||||||
|
request.SetRequestHeader("ClientVersion", Application.version);
|
||||||
|
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());
|
||||||
|
await request.SendWebRequest();
|
||||||
|
if (request.result != UnityWebRequest.Result.Success)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string response = SensitiveInfo.Decrypt(request.downloadHandler.text, SensitiveInfo.SERVER_RECEIVE_TRANSFER_KEY);
|
||||||
|
var posts = JArray.Parse(response).ToObject<ProfileMessageResponse[]>();
|
||||||
|
foreach (var post in posts)
|
||||||
|
{
|
||||||
|
var entry = Instantiate(postSample, postSample.transform.parent);
|
||||||
|
var entryUsername = entry.transform.GetChild(0).GetComponent<TMP_Text>();
|
||||||
|
var entryLikesParent = entry.transform.GetChild(1);
|
||||||
|
var entryLikesTexture = entryLikesParent.GetChild(1).GetComponent<TMP_Text>();
|
||||||
|
var entryLikesButton = entryLikesParent.GetChild(1).GetComponent<Button>();
|
||||||
|
var entryLikesCount = entryLikesParent.GetChild(2).GetComponent<TMP_Text>();
|
||||||
|
var entryMessage = entry.transform.GetChild(2).GetComponent<TMP_Text>();
|
||||||
|
var entryTimestamp = entry.transform.GetChild(3).GetComponent<TMP_Text>();
|
||||||
|
var entryDeleteButton = entryLikesParent.GetChild(0).GetComponent<Button>();
|
||||||
|
|
||||||
|
entryUsername.text = playerName;
|
||||||
|
entryLikesTexture.text = post.Likes < 0 ? "\\uf165" : "\\uf164";
|
||||||
|
entryLikesTexture.color = post.Likes < 0 ? new Color(1f, 0f, 0.5f) : new Color(1f, 1f, 0f);
|
||||||
|
entryLikesCount.text = Tools.FormatWithCommas(post.Likes);
|
||||||
|
entryLikesButton.onClick.AddListener(() =>
|
||||||
|
{
|
||||||
|
if (canVote && BazookaManager.Instance.GetAccountID() != post.UserID)
|
||||||
|
{
|
||||||
|
var likedPosts = BazookaManager.Instance
|
||||||
|
.GetLikedPosts()
|
||||||
|
.Select(x => x.ToString())
|
||||||
|
.ToList();
|
||||||
|
if (!likedPosts.Any(x => x.ToString() == post.ID.ToString())) VotePost(post.ID, entryLikesCount);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
entryMessage.text = Encoding.UTF8.GetString(Convert.FromBase64String(post.Content));
|
||||||
|
entryTimestamp.text = post.Timestamp.ToString();
|
||||||
|
if (BazookaManager.Instance.GetAccountID() == post.UserID)
|
||||||
|
{
|
||||||
|
entryDeleteButton.gameObject.SetActive(true);
|
||||||
|
entryDeleteButton.onClick.AddListener(async () => await DeletePost(entry, post.ID));
|
||||||
|
}
|
||||||
|
|
||||||
|
entry.name = "PostEntry_" + post.ID;
|
||||||
|
entry.SetActive(true);
|
||||||
|
|
||||||
|
Tools.RefreshHierarchy(entry);
|
||||||
|
}
|
||||||
|
exitButton.interactable = true;
|
||||||
|
refreshButton.interactable = true;
|
||||||
|
postButton.interactable = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
void VotePost(BigInteger postId, TMP_Text entryLikesCount)
|
||||||
|
{
|
||||||
|
var popup = Instantiate(voteOverlay, voteOverlay.transform.parent);
|
||||||
|
popup.SetActive(true);
|
||||||
|
var exitButton = popup.transform.GetChild(0).GetChild(0).GetComponent<Button>();
|
||||||
|
var likeButton = popup.transform.GetChild(0).GetChild(2).GetComponent<Button>();
|
||||||
|
var dislikeButton = popup.transform.GetChild(0).GetChild(3).GetComponent<Button>();
|
||||||
|
exitButton.onClick.AddListener(() => Destroy(popup));
|
||||||
|
likeButton.onClick.AddListener(async () =>
|
||||||
|
{
|
||||||
|
canVote = false;
|
||||||
|
Destroy(popup);
|
||||||
|
await SendPostVote(postId, true, entryLikesCount);
|
||||||
|
canVote = true;
|
||||||
|
});
|
||||||
|
dislikeButton.onClick.AddListener(async () =>
|
||||||
|
{
|
||||||
|
canVote = false;
|
||||||
|
Destroy(popup);
|
||||||
|
await SendPostVote(postId, false, entryLikesCount);
|
||||||
|
canVote = true;
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async Task SendPostVote(BigInteger postId, bool liked, TMP_Text entryLikesCount)
|
||||||
|
{
|
||||||
|
EncryptedWWWForm dataForm = new();
|
||||||
|
dataForm.AddField("targetId", postId.ToString());
|
||||||
|
dataForm.AddField("liked", liked ? "1" : "0");
|
||||||
|
dataForm.AddField("username", BazookaManager.Instance.GetAccountName());
|
||||||
|
dataForm.AddField("token", BazookaManager.Instance.GetAccountSession());
|
||||||
|
using UnityWebRequest request = UnityWebRequest.Post(SensitiveInfo.SERVER_DATABASE_PREFIX + "voteAccountProfileMessage.php", dataForm.form);
|
||||||
|
request.SetRequestHeader("Requester", "BerryDashClient");
|
||||||
|
request.SetRequestHeader("ClientVersion", Application.version);
|
||||||
|
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());
|
||||||
|
await request.SendWebRequest();
|
||||||
|
if (request.result != UnityWebRequest.Result.Success)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string response = SensitiveInfo.Decrypt(request.downloadHandler.text, SensitiveInfo.SERVER_RECEIVE_TRANSFER_KEY);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var jsonResponse = JObject.Parse(response);
|
||||||
|
if ((bool)jsonResponse["success"])
|
||||||
|
{
|
||||||
|
entryLikesCount.text = Tools.FormatWithCommas((string)jsonResponse["likes"]);
|
||||||
|
var likedPosts = BazookaManager.Instance.GetLikedPosts();
|
||||||
|
likedPosts.Add(postId.ToString());
|
||||||
|
BazookaManager.Instance.SetLikedPosts(likedPosts);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if ((string)jsonResponse["message"] == "You have already voted")
|
||||||
|
{
|
||||||
|
var likedPosts = BazookaManager.Instance.GetLikedPosts();
|
||||||
|
likedPosts.Add(postId.ToString());
|
||||||
|
BazookaManager.Instance.SetLikedPosts(likedPosts);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
Debug.LogError("Failed to proccess vote");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
void UploadPostPopup()
|
||||||
|
{
|
||||||
|
var popup = Instantiate(postOverlay, postOverlay.transform.parent);
|
||||||
|
popup.SetActive(true);
|
||||||
|
var inputBox = popup.transform.GetChild(0).GetChild(1).GetComponent<TMP_InputField>();
|
||||||
|
var cancelButton = popup.transform.GetChild(0).GetChild(2).GetComponent<Button>();
|
||||||
|
var submitButton = popup.transform.GetChild(0).GetChild(3).GetComponent<Button>();
|
||||||
|
cancelButton.onClick.AddListener(() => Destroy(popup));
|
||||||
|
submitButton.onClick.AddListener(async () =>
|
||||||
|
{
|
||||||
|
if (inputBox.text.Trim().Length == 0) return;
|
||||||
|
Destroy(popup);
|
||||||
|
await UploadPost(inputBox.text);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
async Task UploadPost(string message)
|
||||||
|
{
|
||||||
|
EncryptedWWWForm dataForm = new();
|
||||||
|
dataForm.AddField("content", message);
|
||||||
|
dataForm.AddField("username", BazookaManager.Instance.GetAccountName());
|
||||||
|
dataForm.AddField("token", BazookaManager.Instance.GetAccountSession());
|
||||||
|
using UnityWebRequest request = UnityWebRequest.Post(SensitiveInfo.SERVER_DATABASE_PREFIX + "uploadAccountProfileMessage.php", dataForm.form);
|
||||||
|
request.SetRequestHeader("Requester", "BerryDashClient");
|
||||||
|
request.SetRequestHeader("ClientVersion", Application.version);
|
||||||
|
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());
|
||||||
|
await request.SendWebRequest();
|
||||||
|
if (request.result != UnityWebRequest.Result.Success)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string response = SensitiveInfo.Decrypt(request.downloadHandler.text, SensitiveInfo.SERVER_RECEIVE_TRANSFER_KEY);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var jsonResponse = JObject.Parse(response);
|
||||||
|
if ((bool)jsonResponse["success"])
|
||||||
|
{
|
||||||
|
await RefreshPosts(BazookaManager.Instance.GetAccountID() ?? 0, BazookaManager.Instance.GetAccountName());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
Debug.LogError("Failed to upload post");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
async Task DeletePost(GameObject entryObject, BigInteger targetId)
|
||||||
|
{
|
||||||
|
EncryptedWWWForm dataForm = new();
|
||||||
|
dataForm.AddField("targetId", targetId.ToString());
|
||||||
|
dataForm.AddField("username", BazookaManager.Instance.GetAccountName());
|
||||||
|
dataForm.AddField("token", BazookaManager.Instance.GetAccountSession());
|
||||||
|
using UnityWebRequest request = UnityWebRequest.Post(SensitiveInfo.SERVER_DATABASE_PREFIX + "deleteAccountProfileMessage.php", dataForm.form);
|
||||||
|
request.SetRequestHeader("Requester", "BerryDashClient");
|
||||||
|
request.SetRequestHeader("ClientVersion", Application.version);
|
||||||
|
request.SetRequestHeader("ClientPlatform", Application.platform.ToString());
|
||||||
|
await request.SendWebRequest();
|
||||||
|
if (request.result != UnityWebRequest.Result.Success)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
string response = SensitiveInfo.Decrypt(request.downloadHandler.text, SensitiveInfo.SERVER_RECEIVE_TRANSFER_KEY);
|
||||||
|
try
|
||||||
|
{
|
||||||
|
var jsonResponse = JObject.Parse(response);
|
||||||
|
if ((bool)jsonResponse["success"])
|
||||||
|
{
|
||||||
|
Destroy(entryObject);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
catch (Exception)
|
||||||
|
{
|
||||||
|
Debug.LogError("Failed to upload post");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 6923be8c4608e4af893f64b3729b9f1a
|
||||||
@@ -0,0 +1,22 @@
|
|||||||
|
using TMPro;
|
||||||
|
using UnityEngine;
|
||||||
|
|
||||||
|
public class RainbowText : MonoBehaviour
|
||||||
|
{
|
||||||
|
public float frequency = 1f;
|
||||||
|
private TMP_Text targetImage;
|
||||||
|
|
||||||
|
void Awake()
|
||||||
|
{
|
||||||
|
targetImage = gameObject.GetComponent<TMP_Text>();
|
||||||
|
}
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
float t = Time.time * frequency;
|
||||||
|
float r = Mathf.Sin(t) * 0.5f + 0.5f;
|
||||||
|
float g = Mathf.Sin(t + 2f) * 0.5f + 0.5f;
|
||||||
|
float b = Mathf.Sin(t + 4f) * 0.5f + 0.5f;
|
||||||
|
targetImage.color = new Color(r, g, b);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: ce9aecc05b9004e9eac23a76ea0cadeb
|
||||||
@@ -78,4 +78,10 @@ public static class Tools
|
|||||||
Sprite sprite = Sprite.Create(tex, new Rect(0, 0, tex.width, tex.height), new UnityEngine.Vector2(0.5f, 0.5f));
|
Sprite sprite = Sprite.Create(tex, new Rect(0, 0, tex.width, tex.height), new UnityEngine.Vector2(0.5f, 0.5f));
|
||||||
targetImage.sprite = sprite;
|
targetImage.sprite = sprite;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static void RefreshHierarchy(GameObject root)
|
||||||
|
{
|
||||||
|
foreach (Transform child in root.transform) RefreshHierarchy(child.gameObject);
|
||||||
|
if (root.TryGetComponent<RectTransform>(out var rect)) LayoutRebuilder.ForceRebuildLayoutImmediate(rect);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
@@ -0,0 +1,26 @@
|
|||||||
|
using UnityEngine.Scripting;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using System.Numerics;
|
||||||
|
|
||||||
|
[Preserve]
|
||||||
|
public class ProfileMessageResponse {
|
||||||
|
[Preserve]
|
||||||
|
[JsonProperty("id")]
|
||||||
|
public BigInteger ID { get; set; }
|
||||||
|
|
||||||
|
[Preserve]
|
||||||
|
[JsonProperty("userId")]
|
||||||
|
public BigInteger UserID { get; set; }
|
||||||
|
|
||||||
|
[Preserve]
|
||||||
|
[JsonProperty("content")]
|
||||||
|
public string Content { get; set; }
|
||||||
|
|
||||||
|
[Preserve]
|
||||||
|
[JsonProperty("timestamp")]
|
||||||
|
public string Timestamp { get; set; }
|
||||||
|
|
||||||
|
[Preserve]
|
||||||
|
[JsonProperty("likes")]
|
||||||
|
public BigInteger Likes { get; set; }
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 754a35e0c3aa54d34a217571a3d049c8
|
||||||
Reference in new issue
Block a user