Completely remake mobile gameplayer buttons, and rever graphics renderer changes and just have linux on Vulkan instead
This commit is contained in:
15 files changed
+2637
-178
No files matched your search
@@ -0,0 +1,321 @@
|
|||||||
|
%YAML 1.1
|
||||||
|
%TAG !u! tag:unity3d.com,2011:
|
||||||
|
--- !u!28 &-7384912930539572625
|
||||||
|
Texture2D:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: FontAwesomeRegular Atlas
|
||||||
|
m_ImageContentsHash:
|
||||||
|
serializedVersion: 2
|
||||||
|
Hash: 00000000000000000000000000000000
|
||||||
|
m_IsAlphaChannelOptional: 0
|
||||||
|
serializedVersion: 4
|
||||||
|
m_Width: 512
|
||||||
|
m_Height: 512
|
||||||
|
m_CompleteImageSize: 262144
|
||||||
|
m_MipsStripped: 0
|
||||||
|
m_TextureFormat: 1
|
||||||
|
m_MipCount: 1
|
||||||
|
m_IsReadable: 0
|
||||||
|
m_IsPreProcessed: 0
|
||||||
|
m_IgnoreMipmapLimit: 1
|
||||||
|
m_MipmapLimitGroupName:
|
||||||
|
m_StreamingMipmaps: 0
|
||||||
|
m_StreamingMipmapsPriority: 0
|
||||||
|
m_VTOnly: 0
|
||||||
|
m_AlphaIsTransparency: 0
|
||||||
|
m_ImageCount: 1
|
||||||
|
m_TextureDimension: 2
|
||||||
|
m_TextureSettings:
|
||||||
|
serializedVersion: 2
|
||||||
|
m_FilterMode: 1
|
||||||
|
m_Aniso: 1
|
||||||
|
m_MipBias: 0
|
||||||
|
m_WrapU: 0
|
||||||
|
m_WrapV: 0
|
||||||
|
m_WrapW: 0
|
||||||
|
m_LightmapFormat: 0
|
||||||
|
m_ColorSpace: 0
|
||||||
|
m_PlatformBlob:
|
||||||
|
image data: 262144
|
||||||
|
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001010102020202020202020202020202010101000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010202020202020303030304040203030404050505050505050505050505050505040403030204040303030302020202020201010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000101010102020303040405050505050506060606070707050607070808080808080809090908080808080808070706050707070606060605050505050504040303020201010101000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010101020303040405050505060707070808080808090909090a0a0a0a08090a0a0b0b0b0b0c0c0c0c0c0c0c0c0c0b0b0b0b0a0a09080a0a0a0a090909090808080808070707060505050504040303020101010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
|
||||||
|
m_StreamData:
|
||||||
|
serializedVersion: 2
|
||||||
|
offset: 0
|
||||||
|
size: 0
|
||||||
|
path:
|
||||||
|
--- !u!114 &11400000
|
||||||
|
MonoBehaviour:
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_GameObject: {fileID: 0}
|
||||||
|
m_Enabled: 1
|
||||||
|
m_EditorHideFlags: 0
|
||||||
|
m_Script: {fileID: 11500000, guid: 71c1514a6bd24e1e882cebbe1904ce04, type: 3}
|
||||||
|
m_Name: FontAwesomeRegular
|
||||||
|
m_EditorClassIdentifier: Unity.TextMeshPro::TMPro.TMP_FontAsset
|
||||||
|
m_Version: 1.1.0
|
||||||
|
m_FaceInfo:
|
||||||
|
m_FaceIndex: 0
|
||||||
|
m_FamilyName: Font Awesome 7 Free
|
||||||
|
m_StyleName: Regular
|
||||||
|
m_PointSize: 433
|
||||||
|
m_Scale: 1
|
||||||
|
m_UnitsPerEM: 512
|
||||||
|
m_LineHeight: 433
|
||||||
|
m_AscentLine: 378.875
|
||||||
|
m_CapLine: 352
|
||||||
|
m_MeanLine: 355
|
||||||
|
m_Baseline: 0
|
||||||
|
m_DescentLine: -54.125
|
||||||
|
m_SuperscriptOffset: 378.875
|
||||||
|
m_SuperscriptSize: 0.5
|
||||||
|
m_SubscriptOffset: -54.125
|
||||||
|
m_SubscriptSize: 0.5
|
||||||
|
m_UnderlineOffset: 0
|
||||||
|
m_UnderlineThickness: 0
|
||||||
|
m_StrikethroughOffset: 142
|
||||||
|
m_StrikethroughThickness: 0
|
||||||
|
m_TabWidth: 217
|
||||||
|
m_Material: {fileID: 3453732582505298218}
|
||||||
|
m_SourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
|
||||||
|
m_CreationSettings:
|
||||||
|
sourceFontFileName:
|
||||||
|
sourceFontFileGUID: 5960872f8c2f3d8d5943276148cd6eb0
|
||||||
|
faceIndex: 0
|
||||||
|
pointSizeSamplingMode: 0
|
||||||
|
pointSize: 433
|
||||||
|
padding: 38
|
||||||
|
paddingMode: 1
|
||||||
|
packingMode: 0
|
||||||
|
atlasWidth: 512
|
||||||
|
atlasHeight: 512
|
||||||
|
characterSetSelectionMode: 6
|
||||||
|
characterSequence: f111
|
||||||
|
referencedFontAssetGUID:
|
||||||
|
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
|
||||||
|
fontStyle: 0
|
||||||
|
fontStyleModifier: 0
|
||||||
|
renderMode: 4165
|
||||||
|
includeFontFeatures: 0
|
||||||
|
m_SourceFontFile: {fileID: 0}
|
||||||
|
m_SourceFontFilePath:
|
||||||
|
m_AtlasPopulationMode: 0
|
||||||
|
InternalDynamicOS: 0
|
||||||
|
m_GlyphTable:
|
||||||
|
- m_Index: 83
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 433
|
||||||
|
m_Height: 433
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 378.875
|
||||||
|
m_HorizontalAdvance: 433
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 39
|
||||||
|
m_Y: 39
|
||||||
|
m_Width: 433
|
||||||
|
m_Height: 434
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
m_CharacterTable:
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61713
|
||||||
|
m_GlyphIndex: 83
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasTextures:
|
||||||
|
- {fileID: -7384912930539572625}
|
||||||
|
m_AtlasTextureIndex: 0
|
||||||
|
m_IsMultiAtlasTexturesEnabled: 0
|
||||||
|
m_GetFontFeatures: 1
|
||||||
|
m_ClearDynamicDataOnBuild: 0
|
||||||
|
m_AtlasWidth: 512
|
||||||
|
m_AtlasHeight: 512
|
||||||
|
m_AtlasPadding: 38
|
||||||
|
m_AtlasRenderMode: 4165
|
||||||
|
m_UsedGlyphRects:
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 510
|
||||||
|
m_Height: 511
|
||||||
|
m_FreeGlyphRects:
|
||||||
|
- m_X: 510
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 1
|
||||||
|
m_Height: 511
|
||||||
|
m_FontFeatureTable:
|
||||||
|
m_MultipleSubstitutionRecords: []
|
||||||
|
m_LigatureSubstitutionRecords: []
|
||||||
|
m_GlyphPairAdjustmentRecords: []
|
||||||
|
m_MarkToBaseAdjustmentRecords: []
|
||||||
|
m_MarkToMarkAdjustmentRecords: []
|
||||||
|
m_ShouldReimportFontFeatures: 0
|
||||||
|
m_FallbackFontAssetTable: []
|
||||||
|
m_FontWeightTable:
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
- regularTypeface: {fileID: 0}
|
||||||
|
italicTypeface: {fileID: 0}
|
||||||
|
fontWeights: []
|
||||||
|
normalStyle: 0
|
||||||
|
normalSpacingOffset: 0
|
||||||
|
boldStyle: 0.75
|
||||||
|
boldSpacing: 7
|
||||||
|
italicStyle: 35
|
||||||
|
tabSize: 10
|
||||||
|
m_fontInfo:
|
||||||
|
Name:
|
||||||
|
PointSize: 0
|
||||||
|
Scale: 0
|
||||||
|
CharacterCount: 0
|
||||||
|
LineHeight: 0
|
||||||
|
Baseline: 0
|
||||||
|
Ascender: 0
|
||||||
|
CapHeight: 0
|
||||||
|
Descender: 0
|
||||||
|
CenterLine: 0
|
||||||
|
SuperscriptOffset: 0
|
||||||
|
SubscriptOffset: 0
|
||||||
|
SubSize: 0
|
||||||
|
Underline: 0
|
||||||
|
UnderlineThickness: 0
|
||||||
|
strikethrough: 0
|
||||||
|
strikethroughThickness: 0
|
||||||
|
TabWidth: 0
|
||||||
|
Padding: 0
|
||||||
|
AtlasWidth: 0
|
||||||
|
AtlasHeight: 0
|
||||||
|
m_glyphInfoList: []
|
||||||
|
m_KerningTable:
|
||||||
|
kerningPairs: []
|
||||||
|
fallbackFontAssets: []
|
||||||
|
atlas: {fileID: 0}
|
||||||
|
--- !u!21 &3453732582505298218
|
||||||
|
Material:
|
||||||
|
serializedVersion: 8
|
||||||
|
m_ObjectHideFlags: 0
|
||||||
|
m_CorrespondingSourceObject: {fileID: 0}
|
||||||
|
m_PrefabInstance: {fileID: 0}
|
||||||
|
m_PrefabAsset: {fileID: 0}
|
||||||
|
m_Name: FontAwesomeRegular Material
|
||||||
|
m_Shader: {fileID: 4800000, guid: 68e6db2ebdc24f95958faec2be5558d6, 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:
|
||||||
|
- _BumpMap:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _Cube:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _FaceTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _MainTex:
|
||||||
|
m_Texture: {fileID: -7384912930539572625}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
- _OutlineTex:
|
||||||
|
m_Texture: {fileID: 0}
|
||||||
|
m_Scale: {x: 1, y: 1}
|
||||||
|
m_Offset: {x: 0, y: 0}
|
||||||
|
m_Ints: []
|
||||||
|
m_Floats:
|
||||||
|
- _Ambient: 0.5
|
||||||
|
- _Bevel: 0.5
|
||||||
|
- _BevelClamp: 0
|
||||||
|
- _BevelOffset: 0
|
||||||
|
- _BevelRoundness: 0
|
||||||
|
- _BevelWidth: 0
|
||||||
|
- _BumpFace: 0
|
||||||
|
- _BumpOutline: 0
|
||||||
|
- _ColorMask: 15
|
||||||
|
- _CullMode: 0
|
||||||
|
- _Diffuse: 0.5
|
||||||
|
- _FaceDilate: 0
|
||||||
|
- _FaceUVSpeedX: 0
|
||||||
|
- _FaceUVSpeedY: 0
|
||||||
|
- _GlowInner: 0.05
|
||||||
|
- _GlowOffset: 0
|
||||||
|
- _GlowOuter: 0.05
|
||||||
|
- _GlowPower: 0.75
|
||||||
|
- _GradientScale: 39
|
||||||
|
- _LightAngle: 3.1416
|
||||||
|
- _MaskSoftnessX: 0
|
||||||
|
- _MaskSoftnessY: 0
|
||||||
|
- _OutlineSoftness: 0
|
||||||
|
- _OutlineUVSpeedX: 0
|
||||||
|
- _OutlineUVSpeedY: 0
|
||||||
|
- _OutlineWidth: 0
|
||||||
|
- _PerspectiveFilter: 0.875
|
||||||
|
- _Reflectivity: 10
|
||||||
|
- _ScaleRatioA: 0.974359
|
||||||
|
- _ScaleRatioB: 0.7916667
|
||||||
|
- _ScaleRatioC: 0.7916667
|
||||||
|
- _ScaleX: 1
|
||||||
|
- _ScaleY: 1
|
||||||
|
- _ShaderFlags: 0
|
||||||
|
- _Sharpness: 0
|
||||||
|
- _SpecularPower: 2
|
||||||
|
- _Stencil: 0
|
||||||
|
- _StencilComp: 8
|
||||||
|
- _StencilOp: 0
|
||||||
|
- _StencilReadMask: 255
|
||||||
|
- _StencilWriteMask: 255
|
||||||
|
- _TextureHeight: 512
|
||||||
|
- _TextureWidth: 512
|
||||||
|
- _UnderlayDilate: 0
|
||||||
|
- _UnderlayOffsetX: 0
|
||||||
|
- _UnderlayOffsetY: 0
|
||||||
|
- _UnderlaySoftness: 0
|
||||||
|
- _VertexOffsetX: 0
|
||||||
|
- _VertexOffsetY: 0
|
||||||
|
- _WeightBold: 0.75
|
||||||
|
- _WeightNormal: 0
|
||||||
|
m_Colors:
|
||||||
|
- _ClipRect: {r: -32767, g: -32767, b: 32767, a: 32767}
|
||||||
|
- _EnvMatrixRotation: {r: 0, g: 0, b: 0, a: 0}
|
||||||
|
- _FaceColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _GlowColor: {r: 0, g: 1, b: 0, a: 0.5}
|
||||||
|
- _MaskCoord: {r: 0, g: 0, b: 32767, a: 32767}
|
||||||
|
- _OutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _ReflectFaceColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _ReflectOutlineColor: {r: 0, g: 0, b: 0, a: 1}
|
||||||
|
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1}
|
||||||
|
- _UnderlayColor: {r: 0, g: 0, b: 0, a: 0.5}
|
||||||
|
m_BuildTextureStacks: []
|
||||||
|
m_AllowLocking: 1
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2392e4822ecf2c5e19a145850cebbd9a
|
||||||
|
NativeFormatImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
mainObjectFileID: 11400000
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
Binary file not shown.
@@ -0,0 +1,21 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 5960872f8c2f3d8d5943276148cd6eb0
|
||||||
|
TrueTypeFontImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
serializedVersion: 4
|
||||||
|
fontSize: 16
|
||||||
|
forceTextureCase: -2
|
||||||
|
characterSpacing: 0
|
||||||
|
characterPadding: 1
|
||||||
|
includeFontData: 1
|
||||||
|
fontNames:
|
||||||
|
- Font Awesome 7 Free
|
||||||
|
fallbackFontReferences: []
|
||||||
|
customCharacters:
|
||||||
|
fontRenderingMode: 0
|
||||||
|
ascentCalculationMode: 1
|
||||||
|
useLegacyBoundsCalculation: 0
|
||||||
|
shouldRoundAdvanceValue: 1
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
f111
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: d2478a5ac0a503084b9417ec06acc54c
|
||||||
|
TextScriptImporter:
|
||||||
|
externalObjects: {}
|
||||||
|
userData:
|
||||||
|
assetBundleName:
|
||||||
|
assetBundleVariant:
|
||||||
@@ -63,7 +63,7 @@ Material:
|
|||||||
- _GlowOffset: 0
|
- _GlowOffset: 0
|
||||||
- _GlowOuter: 0.05
|
- _GlowOuter: 0.05
|
||||||
- _GlowPower: 0.75
|
- _GlowPower: 0.75
|
||||||
- _GradientScale: 23
|
- _GradientScale: 15
|
||||||
- _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.95652175
|
- _ScaleRatioA: 0.93333334
|
||||||
- _ScaleRatioB: 0.77717394
|
- _ScaleRatioB: 0.7583333
|
||||||
- _ScaleRatioC: 0.77717394
|
- _ScaleRatioC: 0.7583333
|
||||||
- _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: 255
|
m_PointSize: 160
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_UnitsPerEM: 512
|
m_UnitsPerEM: 512
|
||||||
m_LineHeight: 254.99998
|
m_LineHeight: 160
|
||||||
m_AscentLine: 223.12498
|
m_AscentLine: 140
|
||||||
m_CapLine: 208
|
m_CapLine: 130
|
||||||
m_MeanLine: 210
|
m_MeanLine: 132
|
||||||
m_Baseline: 0
|
m_Baseline: 0
|
||||||
m_DescentLine: -31.874998
|
m_DescentLine: -20
|
||||||
m_SuperscriptOffset: 223.12498
|
m_SuperscriptOffset: 140
|
||||||
m_SuperscriptSize: 0.5
|
m_SuperscriptSize: 0.5
|
||||||
m_SubscriptOffset: -31.874998
|
m_SubscriptOffset: -20
|
||||||
m_SubscriptSize: 0.5
|
m_SubscriptSize: 0.5
|
||||||
m_UnderlineOffset: 0
|
m_UnderlineOffset: 0
|
||||||
m_UnderlineThickness: 0
|
m_UnderlineThickness: 0
|
||||||
m_StrikethroughOffset: 84
|
m_StrikethroughOffset: 52.8
|
||||||
m_StrikethroughThickness: 0
|
m_StrikethroughThickness: 0
|
||||||
m_TabWidth: 128
|
m_TabWidth: 80
|
||||||
m_Material: {fileID: -353727190107255236}
|
m_Material: {fileID: -353727190107255236}
|
||||||
m_SourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
m_SourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
||||||
m_CreationSettings:
|
m_CreationSettings:
|
||||||
@@ -151,14 +151,14 @@ MonoBehaviour:
|
|||||||
sourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
sourceFontFileGUID: 70c3626d6481a080ca8a0f3ee7018cd8
|
||||||
faceIndex: 0
|
faceIndex: 0
|
||||||
pointSizeSamplingMode: 0
|
pointSizeSamplingMode: 0
|
||||||
pointSize: 255
|
pointSize: 160
|
||||||
padding: 22
|
padding: 14
|
||||||
paddingMode: 1
|
paddingMode: 1
|
||||||
packingMode: 0
|
packingMode: 0
|
||||||
atlasWidth: 512
|
atlasWidth: 512
|
||||||
atlasHeight: 512
|
atlasHeight: 512
|
||||||
characterSetSelectionMode: 6
|
characterSetSelectionMode: 6
|
||||||
characterSequence: f309,f111,f141
|
characterSequence: f309,f111,f141,f04c,f0e2,f077,f061,f060
|
||||||
referencedFontAssetGUID:
|
referencedFontAssetGUID:
|
||||||
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
|
referencedTextAssetGUID: 5d3dcb0eeedeb6c7a8da5527c34d0e35
|
||||||
fontStyle: 0
|
fontStyle: 0
|
||||||
@@ -170,52 +170,147 @@ MonoBehaviour:
|
|||||||
m_AtlasPopulationMode: 0
|
m_AtlasPopulationMode: 0
|
||||||
InternalDynamicOS: 0
|
InternalDynamicOS: 0
|
||||||
m_GlyphTable:
|
m_GlyphTable:
|
||||||
|
- m_Index: 474
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 120
|
||||||
|
m_Height: 140
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 130
|
||||||
|
m_HorizontalAdvance: 120
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 204
|
||||||
|
m_Y: 317
|
||||||
|
m_Width: 120
|
||||||
|
m_Height: 140
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 490
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 160.9375
|
||||||
|
m_Height: 121.875
|
||||||
|
m_HorizontalBearingX: -0.9375
|
||||||
|
m_HorizontalBearingY: 120.9375
|
||||||
|
m_HorizontalAdvance: 160
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 335
|
||||||
|
m_Y: 166
|
||||||
|
m_Width: 161
|
||||||
|
m_Height: 122
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 491
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 160.9375
|
||||||
|
m_Height: 121.875
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 120.9375
|
||||||
|
m_HorizontalAdvance: 160
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 335
|
||||||
|
m_Y: 15
|
||||||
|
m_Width: 161
|
||||||
|
m_Height: 122
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 510
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 141.875
|
||||||
|
m_Height: 81.875
|
||||||
|
m_HorizontalBearingX: -0.9375
|
||||||
|
m_HorizontalBearingY: 110.9375
|
||||||
|
m_HorizontalAdvance: 140
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 15
|
||||||
|
m_Y: 414
|
||||||
|
m_Width: 142
|
||||||
|
m_Height: 82
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
|
- m_Index: 580
|
||||||
|
m_Metrics:
|
||||||
|
m_Width: 160
|
||||||
|
m_Height: 160
|
||||||
|
m_HorizontalBearingX: 0
|
||||||
|
m_HorizontalBearingY: 140
|
||||||
|
m_HorizontalAdvance: 160
|
||||||
|
m_GlyphRect:
|
||||||
|
m_X: 146
|
||||||
|
m_Y: 15
|
||||||
|
m_Width: 160
|
||||||
|
m_Height: 160
|
||||||
|
m_Scale: 1
|
||||||
|
m_AtlasIndex: 0
|
||||||
|
m_ClassDefinitionType: 0
|
||||||
- m_Index: 616
|
- m_Index: 616
|
||||||
m_Metrics:
|
m_Metrics:
|
||||||
m_Width: 255
|
m_Width: 160
|
||||||
m_Height: 255
|
m_Height: 160
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 223.125
|
m_HorizontalBearingY: 140
|
||||||
m_HorizontalAdvance: 255
|
m_HorizontalAdvance: 160
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 231
|
m_X: 15
|
||||||
m_Y: 23
|
m_Y: 225
|
||||||
m_Width: 255
|
m_Width: 160
|
||||||
m_Height: 256
|
m_Height: 160
|
||||||
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: 223.125
|
m_Width: 140
|
||||||
m_Height: 55.78125
|
m_Height: 35
|
||||||
m_HorizontalBearingX: 0
|
m_HorizontalBearingX: 0
|
||||||
m_HorizontalBearingY: 123.515625
|
m_HorizontalBearingY: 77.5
|
||||||
m_HorizontalAdvance: 223.125
|
m_HorizontalAdvance: 140
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 231
|
m_X: 353
|
||||||
m_Y: 324
|
m_Y: 317
|
||||||
m_Width: 224
|
m_Width: 140
|
||||||
m_Height: 57
|
m_Height: 36
|
||||||
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: 162.375
|
m_Width: 101.875
|
||||||
m_Height: 288.375
|
m_Height: 180.9375
|
||||||
m_HorizontalBearingX: -1.5
|
m_HorizontalBearingX: -0.9375
|
||||||
m_HorizontalBearingY: 239.0625
|
m_HorizontalBearingY: 150
|
||||||
m_HorizontalAdvance: 159.375
|
m_HorizontalAdvance: 100
|
||||||
m_GlyphRect:
|
m_GlyphRect:
|
||||||
m_X: 23
|
m_X: 15
|
||||||
m_Y: 23
|
m_Y: 15
|
||||||
m_Width: 163
|
m_Width: 102
|
||||||
m_Height: 290
|
m_Height: 181
|
||||||
m_Scale: 1
|
m_Scale: 1
|
||||||
m_AtlasIndex: 0
|
m_AtlasIndex: 0
|
||||||
m_ClassDefinitionType: 0
|
m_ClassDefinitionType: 0
|
||||||
m_CharacterTable:
|
m_CharacterTable:
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61516
|
||||||
|
m_GlyphIndex: 474
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61536
|
||||||
|
m_GlyphIndex: 490
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61537
|
||||||
|
m_GlyphIndex: 491
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61559
|
||||||
|
m_GlyphIndex: 510
|
||||||
|
m_Scale: 1
|
||||||
|
- m_ElementType: 1
|
||||||
|
m_Unicode: 61666
|
||||||
|
m_GlyphIndex: 580
|
||||||
|
m_Scale: 1
|
||||||
- m_ElementType: 1
|
- m_ElementType: 1
|
||||||
m_Unicode: 61713
|
m_Unicode: 61713
|
||||||
m_GlyphIndex: 616
|
m_GlyphIndex: 616
|
||||||
@@ -236,38 +331,74 @@ MonoBehaviour:
|
|||||||
m_ClearDynamicDataOnBuild: 0
|
m_ClearDynamicDataOnBuild: 0
|
||||||
m_AtlasWidth: 512
|
m_AtlasWidth: 512
|
||||||
m_AtlasHeight: 512
|
m_AtlasHeight: 512
|
||||||
m_AtlasPadding: 22
|
m_AtlasPadding: 14
|
||||||
m_AtlasRenderMode: 4165
|
m_AtlasRenderMode: 4165
|
||||||
m_UsedGlyphRects:
|
m_UsedGlyphRects:
|
||||||
- m_X: 0
|
- m_X: 0
|
||||||
m_Y: 0
|
m_Y: 0
|
||||||
m_Width: 208
|
m_Width: 131
|
||||||
m_Height: 335
|
|
||||||
- m_X: 208
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 300
|
|
||||||
m_Height: 301
|
|
||||||
- m_X: 208
|
|
||||||
m_Y: 301
|
|
||||||
m_Width: 269
|
|
||||||
m_Height: 102
|
|
||||||
m_FreeGlyphRects:
|
|
||||||
- m_X: 508
|
|
||||||
m_Y: 0
|
|
||||||
m_Width: 3
|
|
||||||
m_Height: 511
|
|
||||||
- m_X: 0
|
|
||||||
m_Y: 403
|
|
||||||
m_Width: 511
|
|
||||||
m_Height: 108
|
|
||||||
- m_X: 0
|
|
||||||
m_Y: 335
|
|
||||||
m_Width: 208
|
|
||||||
m_Height: 176
|
|
||||||
- m_X: 477
|
|
||||||
m_Y: 301
|
|
||||||
m_Width: 34
|
|
||||||
m_Height: 210
|
m_Height: 210
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 210
|
||||||
|
m_Width: 189
|
||||||
|
m_Height: 189
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 399
|
||||||
|
m_Width: 171
|
||||||
|
m_Height: 111
|
||||||
|
- m_X: 131
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 189
|
||||||
|
m_Height: 189
|
||||||
|
- m_X: 320
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 190
|
||||||
|
m_Height: 151
|
||||||
|
- m_X: 320
|
||||||
|
m_Y: 151
|
||||||
|
m_Width: 190
|
||||||
|
m_Height: 151
|
||||||
|
- m_X: 189
|
||||||
|
m_Y: 302
|
||||||
|
m_Width: 149
|
||||||
|
m_Height: 169
|
||||||
|
- m_X: 338
|
||||||
|
m_Y: 302
|
||||||
|
m_Width: 169
|
||||||
|
m_Height: 65
|
||||||
|
m_FreeGlyphRects:
|
||||||
|
- m_X: 0
|
||||||
|
m_Y: 510
|
||||||
|
m_Width: 511
|
||||||
|
m_Height: 1
|
||||||
|
- m_X: 510
|
||||||
|
m_Y: 0
|
||||||
|
m_Width: 1
|
||||||
|
m_Height: 511
|
||||||
|
- m_X: 131
|
||||||
|
m_Y: 189
|
||||||
|
m_Width: 189
|
||||||
|
m_Height: 21
|
||||||
|
- m_X: 171
|
||||||
|
m_Y: 471
|
||||||
|
m_Width: 340
|
||||||
|
m_Height: 40
|
||||||
|
- m_X: 171
|
||||||
|
m_Y: 399
|
||||||
|
m_Width: 18
|
||||||
|
m_Height: 112
|
||||||
|
- m_X: 189
|
||||||
|
m_Y: 189
|
||||||
|
m_Width: 131
|
||||||
|
m_Height: 113
|
||||||
|
- m_X: 338
|
||||||
|
m_Y: 367
|
||||||
|
m_Width: 173
|
||||||
|
m_Height: 144
|
||||||
|
- m_X: 507
|
||||||
|
m_Y: 302
|
||||||
|
m_Width: 4
|
||||||
|
m_Height: 209
|
||||||
m_FontFeatureTable:
|
m_FontFeatureTable:
|
||||||
m_MultipleSubstitutionRecords: []
|
m_MultipleSubstitutionRecords: []
|
||||||
m_LigatureSubstitutionRecords: []
|
m_LigatureSubstitutionRecords: []
|
||||||
@@ -371,7 +502,7 @@ Texture2D:
|
|||||||
m_ColorSpace: 0
|
m_ColorSpace: 0
|
||||||
m_PlatformBlob:
|
m_PlatformBlob:
|
||||||
image data: 262144
|
image data: 262144
|
||||||
_typelessdata: 00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020303030404050506060707070707070808080707070707070606050504040303030201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010102010100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010203030304060708080909090a0a0b0b0c0c0c0c0d0d0d0d0d0d0d0d0d0c0c0c0c0b0b0a0a09090908080706040303030201000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000102020303040606070707060605030303020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020203040607080809090a0b0c0d0e0e0e0f0f10101111121212121212131313121212121212111110100f0f0e0e0e0d0c0b0a09090808070604030202010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002030506070808080a0b0c0c0d0c0c0b0a0909080707050402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001020305060708080a0b0c0d0e0e0f0f1012131314141515151616171717181818181818181818181817171716161515151414131312100f0e0e0e0d0c0b0a080807060503020100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
|
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030404030100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002030404060708090a0a0b0c0c0c0c0d0d0c0c0b0b0a0a0a09080605050402000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001030404030100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002030405070a0c0c0c0c0a0705040302000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002040405070a0c0d0d0e0f10111213141414151515151514141313121211100f0d0d0c0b08060504030200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002030405070a0c0c0c0c0a0705040302000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000205080a0c0d0d10121415151412100d0d0c0a08050200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000020405080a0c0d0d10121415151718191a1b1b1c1d1d1d1d1e1e1d1d1c1c1b1b1b1a191716161513100f0d0d0c0a0805030200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000205080a0c0d0d10121415151412100d0d0c0a08050200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105090d1012141516181b1d1d1d1d1b1816151412100d09050100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010306080b0c0d1013141516181a1c1e1e1f202122232425252526262626262525242423232221201e1e1d1b181716151412100d0c0a0705030100000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000105090d1012141516181b1d1d1d1d1b1816151412Line truncated
|
||||||
m_StreamData:
|
m_StreamData:
|
||||||
serializedVersion: 2
|
serializedVersion: 2
|
||||||
offset: 0
|
offset: 0
|
||||||
|
|||||||
@@ -1 +1 @@
|
|||||||
f309,f111,f141
|
f309,f111,f141,f04c,f0e2,f077,f061,f060
|
||||||
+2014
-1
File diff suppressed because it is too large.
Load diff
@@ -0,0 +1,21 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using TMPro;
|
||||||
|
|
||||||
|
public class ImageColorSync : MonoBehaviour
|
||||||
|
{
|
||||||
|
public TMP_Text originalText;
|
||||||
|
public TMP_Text toSync;
|
||||||
|
|
||||||
|
void Update()
|
||||||
|
{
|
||||||
|
Color baseColor = originalText.color;
|
||||||
|
Color graphicColor = originalText.canvasRenderer.GetColor();
|
||||||
|
|
||||||
|
toSync.color = new Color(
|
||||||
|
baseColor.r * graphicColor.r,
|
||||||
|
baseColor.g * graphicColor.g,
|
||||||
|
baseColor.b * graphicColor.b,
|
||||||
|
baseColor.a * graphicColor.a
|
||||||
|
);
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 2f2f4acc28666d458a1b0ca3e5672388
|
||||||
@@ -3,6 +3,7 @@ using System.Numerics;
|
|||||||
using TMPro;
|
using TMPro;
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.InputSystem;
|
using UnityEngine.InputSystem;
|
||||||
|
using UnityEngine.UI;
|
||||||
|
|
||||||
public class GamePlayer : MonoBehaviour
|
public class GamePlayer : MonoBehaviour
|
||||||
{
|
{
|
||||||
@@ -37,14 +38,16 @@ public class GamePlayer : MonoBehaviour
|
|||||||
private float nextUpdate;
|
private float nextUpdate;
|
||||||
private float fps;
|
private float fps;
|
||||||
public SpriteRenderer overlayRender;
|
public SpriteRenderer overlayRender;
|
||||||
private GameObject leftArrow;
|
|
||||||
private GameObject rightArrow;
|
|
||||||
private GameObject jumpArrow;
|
|
||||||
private GameObject restartButton;
|
|
||||||
private GameObject backButton;
|
|
||||||
private float lastMoveTime;
|
private float lastMoveTime;
|
||||||
public GameObject berryParent;
|
public GameObject berryParent;
|
||||||
|
|
||||||
|
public GameObject mobileButtons;
|
||||||
|
public HoldableButton pauseButton;
|
||||||
|
public HoldableButton restartButton;
|
||||||
|
public HoldableButton jumpButton;
|
||||||
|
public HoldableButton rightButton;
|
||||||
|
public HoldableButton leftButton;
|
||||||
|
|
||||||
void Start()
|
void Start()
|
||||||
{
|
{
|
||||||
var customIconData = BazookaManager.Instance.GetCustomBirdIconData();
|
var customIconData = BazookaManager.Instance.GetCustomBirdIconData();
|
||||||
@@ -149,51 +152,7 @@ public class GamePlayer : MonoBehaviour
|
|||||||
Cursor.lockState = CursorLockMode.Locked;
|
Cursor.lockState = CursorLockMode.Locked;
|
||||||
backgroundMusic.volume = BazookaManager.Instance.GetSettingMusicVolume();
|
backgroundMusic.volume = BazookaManager.Instance.GetSettingMusicVolume();
|
||||||
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
|
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
|
||||||
if (Application.isMobilePlatform)
|
if (Application.isMobilePlatform) mobileButtons.SetActive(true);
|
||||||
{
|
|
||||||
leftArrow = new("LeftArrow");
|
|
||||||
rightArrow = new("RightArrow");
|
|
||||||
jumpArrow = new("JumpArrow");
|
|
||||||
restartButton = new("RestartButton");
|
|
||||||
backButton = new("BackButton");
|
|
||||||
leftArrow.AddComponent<SpriteRenderer>();
|
|
||||||
rightArrow.AddComponent<SpriteRenderer>();
|
|
||||||
jumpArrow.AddComponent<SpriteRenderer>();
|
|
||||||
restartButton.AddComponent<SpriteRenderer>();
|
|
||||||
backButton.AddComponent<SpriteRenderer>();
|
|
||||||
|
|
||||||
var leftArrowSprite = leftArrow.GetComponent<SpriteRenderer>();
|
|
||||||
var rightArrowSprite = rightArrow.GetComponent<SpriteRenderer>();
|
|
||||||
var jumpArrowSprite = jumpArrow.GetComponent<SpriteRenderer>();
|
|
||||||
var restartButtonSprite = restartButton.GetComponent<SpriteRenderer>();
|
|
||||||
var backButtonSprite = backButton.GetComponent<SpriteRenderer>();
|
|
||||||
|
|
||||||
leftArrowSprite.sprite = Resources.Load<Sprite>("Arrows/Arrow");
|
|
||||||
leftArrowSprite.sortingOrder = 1000;
|
|
||||||
rightArrowSprite.sprite = Resources.Load<Sprite>("Arrows/Arrow");
|
|
||||||
rightArrowSprite.sortingOrder = 1000;
|
|
||||||
jumpArrowSprite.sprite = Resources.Load<Sprite>("Arrows/Arrow");
|
|
||||||
jumpArrowSprite.sortingOrder = 1000;
|
|
||||||
restartButtonSprite.sprite = Resources.Load<Sprite>("Arrows/Restart");
|
|
||||||
restartButtonSprite.sortingOrder = 1000;
|
|
||||||
backButtonSprite.sprite = Resources.Load<Sprite>("Arrows/Back");
|
|
||||||
backButtonSprite.sortingOrder = 1000;
|
|
||||||
|
|
||||||
leftArrow.transform.rotation = UnityEngine.Quaternion.Euler(0f, 0f, 90f);
|
|
||||||
rightArrow.transform.rotation = UnityEngine.Quaternion.Euler(0f, 0f, -90f);
|
|
||||||
|
|
||||||
leftArrow.transform.position = new UnityEngine.Vector3(-screenWidth / 2.5f, -3.8f, 0f);
|
|
||||||
rightArrow.transform.position = new UnityEngine.Vector3(screenWidth / 2.5f, -3.8f, 0f);
|
|
||||||
jumpArrow.transform.position = new UnityEngine.Vector3(screenWidth / 2.5f, -1f, 0f);
|
|
||||||
restartButton.transform.position = new UnityEngine.Vector3(screenWidth / 2.3f, Camera.main.orthographicSize - 1.2f, 0f);
|
|
||||||
backButton.transform.position = new UnityEngine.Vector3(-screenWidth / 2.3f, Camera.main.orthographicSize - 1.2f, 0f);
|
|
||||||
|
|
||||||
leftArrow.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
rightArrow.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
jumpArrow.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
restartButton.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
backButton.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
}
|
|
||||||
UpdateStats(0, 1);
|
UpdateStats(0, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -246,26 +205,11 @@ public class GamePlayer : MonoBehaviour
|
|||||||
var pos = touches[i].screenPosition;
|
var pos = touches[i].screenPosition;
|
||||||
UnityEngine.Vector3 clickPosition = Camera.main.ScreenToWorldPoint(new UnityEngine.Vector3(pos.x, pos.y, 0f));
|
UnityEngine.Vector3 clickPosition = Camera.main.ScreenToWorldPoint(new UnityEngine.Vector3(pos.x, pos.y, 0f));
|
||||||
clickPosition.z = 0f;
|
clickPosition.z = 0f;
|
||||||
if (leftArrow.GetComponent<SpriteRenderer>().bounds.Contains(clickPosition))
|
if (leftButton.isPressed) doMoveLeft = true;
|
||||||
{
|
if (rightButton.isPressed) doMoveRight = true;
|
||||||
doMoveLeft = true;
|
if (jumpButton.isPressed) doJump = true;
|
||||||
}
|
if (restartButton.isPressed) doRestart = true;
|
||||||
if (rightArrow.GetComponent<SpriteRenderer>().bounds.Contains(clickPosition))
|
if (pauseButton.isPressed) doBack = true;
|
||||||
{
|
|
||||||
doMoveRight = true;
|
|
||||||
}
|
|
||||||
if (jumpArrow.GetComponent<SpriteRenderer>().bounds.Contains(clickPosition))
|
|
||||||
{
|
|
||||||
doJump = true;
|
|
||||||
}
|
|
||||||
if (restartButton.GetComponent<SpriteRenderer>().bounds.Contains(clickPosition))
|
|
||||||
{
|
|
||||||
doRestart = true;
|
|
||||||
}
|
|
||||||
if (backButton.GetComponent<SpriteRenderer>().bounds.Contains(clickPosition))
|
|
||||||
{
|
|
||||||
doBack = true;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (doMoveLeft && !doMoveRight)
|
if (doMoveLeft && !doMoveRight)
|
||||||
@@ -335,17 +279,17 @@ public class GamePlayer : MonoBehaviour
|
|||||||
if (boostLeft > 0f)
|
if (boostLeft > 0f)
|
||||||
{
|
{
|
||||||
boostLeft -= Time.deltaTime;
|
boostLeft -= Time.deltaTime;
|
||||||
boostText.text = "Boost expires in " + $"{boostLeft:0.0}" + "s";
|
boostText.text = "Boost expires in " + string.Format("{0:0.0}", boostLeft) + "s";
|
||||||
}
|
}
|
||||||
else if (slownessLeft > 0f)
|
else if (slownessLeft > 0f)
|
||||||
{
|
{
|
||||||
slownessLeft -= Time.deltaTime;
|
slownessLeft -= Time.deltaTime;
|
||||||
boostText.text = "Slowness expires in " + $"{slownessLeft:0.0}" + "s";
|
boostText.text = "Slowness expires in " + string.Format("{0:0.0}", slownessLeft) + "s";
|
||||||
}
|
}
|
||||||
else if (speedyLeft > 0f)
|
else if (speedyLeft > 0f)
|
||||||
{
|
{
|
||||||
speedyLeft -= Time.deltaTime;
|
speedyLeft -= Time.deltaTime;
|
||||||
boostText.text = "Speed expires in " + $"{speedyLeft:0.0}" + "s";
|
boostText.text = "Speed expires in " + string.Format("{0:0.0}", speedyLeft) + "s";
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@@ -428,20 +372,6 @@ public class GamePlayer : MonoBehaviour
|
|||||||
{
|
{
|
||||||
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
|
screenWidth = Camera.main.orthographicSize * 2f * Camera.main.aspect;
|
||||||
ClampPosition(bird);
|
ClampPosition(bird);
|
||||||
if (Application.isMobilePlatform)
|
|
||||||
{
|
|
||||||
leftArrow.transform.position = new UnityEngine.Vector3(-screenWidth / 2.5f, -3.8f, 0f);
|
|
||||||
rightArrow.transform.position = new UnityEngine.Vector3(screenWidth / 2.5f, -3.8f, 0f);
|
|
||||||
jumpArrow.transform.position = new UnityEngine.Vector3(screenWidth / 2.5f, -1f, 0f);
|
|
||||||
restartButton.transform.position = new UnityEngine.Vector3(screenWidth / 2.3f, Camera.main.orthographicSize - 1.2f, 0f);
|
|
||||||
backButton.transform.position = new UnityEngine.Vector3(-screenWidth / 2.3f, Camera.main.orthographicSize - 1.2f, 0f);
|
|
||||||
|
|
||||||
leftArrow.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
rightArrow.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
jumpArrow.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
restartButton.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
backButton.transform.localScale = new UnityEngine.Vector3(screenWidth / 14f, screenWidth / 14f, 1f);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
GameObject[] normalBerries = GameObject.FindGameObjectsWithTag("NormalBerry");
|
GameObject[] normalBerries = GameObject.FindGameObjectsWithTag("NormalBerry");
|
||||||
GameObject[] poisonBerries = GameObject.FindGameObjectsWithTag("PoisonBerry");
|
GameObject[] poisonBerries = GameObject.FindGameObjectsWithTag("PoisonBerry");
|
||||||
@@ -627,10 +557,7 @@ public class GamePlayer : MonoBehaviour
|
|||||||
berry.GetComponent<Rigidbody2D>().linearVelocity = UnityEngine.Vector2.zero;
|
berry.GetComponent<Rigidbody2D>().linearVelocity = UnityEngine.Vector2.zero;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!Application.isMobilePlatform && (Keyboard.current.escapeKey.wasPressedThisFrame || (Gamepad.current != null && (Gamepad.current.startButton.wasPressedThisFrame || Gamepad.current.buttonEast.wasPressedThisFrame))))
|
if ((Application.platform == RuntimePlatform.Android && Keyboard.current.escapeKey.wasPressedThisFrame) || !Application.isMobilePlatform && (Keyboard.current.escapeKey.wasPressedThisFrame || (Gamepad.current != null && (Gamepad.current.startButton.wasPressedThisFrame || Gamepad.current.buttonEast.wasPressedThisFrame)))) TogglePause();
|
||||||
{
|
|
||||||
TogglePause();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void Respawn()
|
void Respawn()
|
||||||
@@ -681,7 +608,7 @@ public class GamePlayer : MonoBehaviour
|
|||||||
scoreText.text = $"Score: {Tools.FormatWithCommas(score)} \\u2022 Attempts: {Tools.FormatWithCommas(attempts)}";
|
scoreText.text = $"Score: {Tools.FormatWithCommas(score)} \\u2022 Attempts: {Tools.FormatWithCommas(attempts)}";
|
||||||
highScoreText.text = $"High Score: {Tools.FormatWithCommas(highscore)} \\u2022 Total Attempts: {Tools.FormatWithCommas(totalAttempts)}";
|
highScoreText.text = $"High Score: {Tools.FormatWithCommas(highscore)} \\u2022 Total Attempts: {Tools.FormatWithCommas(totalAttempts)}";
|
||||||
coinText.text = $"Coins: {Tools.FormatWithCommas(totalCoins)}";
|
coinText.text = $"Coins: {Tools.FormatWithCommas(totalCoins)}";
|
||||||
if (restartButton != null) restartButton.GetComponent<Renderer>().material.color = score == 0 ? Color.gray : Color.white;
|
if (Application.isMobilePlatform) restartButton.transform.GetChild(0).GetComponent<TMP_Text>().material.color = score == 0 ? Color.gray : Color.white;
|
||||||
}
|
}
|
||||||
|
|
||||||
void CheckIfGrounded()
|
void CheckIfGrounded()
|
||||||
@@ -695,10 +622,7 @@ public class GamePlayer : MonoBehaviour
|
|||||||
bird.transform.position = new UnityEngine.Vector2(bird.transform.position.x, -4.1359f);
|
bird.transform.position = new UnityEngine.Vector2(bird.transform.position.x, -4.1359f);
|
||||||
rb.linearVelocity = new UnityEngine.Vector2(rb.linearVelocity.x, 0f);
|
rb.linearVelocity = new UnityEngine.Vector2(rb.linearVelocity.x, 0f);
|
||||||
}
|
}
|
||||||
if (jumpArrow != null && jumpArrow.GetComponent<Renderer>() != null)
|
if (Application.isMobilePlatform) jumpButton.transform.GetChild(0).GetComponent<TMP_Text>().color = isGrounded ? Color.white : Color.red;
|
||||||
{
|
|
||||||
jumpArrow.GetComponent<Renderer>().material.color = isGrounded ? Color.white : Color.red;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
internal void TogglePause()
|
internal void TogglePause()
|
||||||
|
|||||||
@@ -0,0 +1,17 @@
|
|||||||
|
using UnityEngine;
|
||||||
|
using UnityEngine.EventSystems;
|
||||||
|
|
||||||
|
public class HoldableButton : MonoBehaviour, IPointerDownHandler, IPointerUpHandler
|
||||||
|
{
|
||||||
|
public bool isPressed;
|
||||||
|
|
||||||
|
public void OnPointerDown(PointerEventData eventData)
|
||||||
|
{
|
||||||
|
isPressed = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnPointerUp(PointerEventData eventData)
|
||||||
|
{
|
||||||
|
isPressed = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
fileFormatVersion: 2
|
||||||
|
guid: 0a636dfa538b0bae0bd00c2d37217ae9
|
||||||
@@ -509,16 +509,7 @@ PlayerSettings:
|
|||||||
m_BuildTargetGraphicsJobMode: []
|
m_BuildTargetGraphicsJobMode: []
|
||||||
m_BuildTargetGraphicsAPIs:
|
m_BuildTargetGraphicsAPIs:
|
||||||
- m_BuildTarget: LinuxStandaloneSupport
|
- m_BuildTarget: LinuxStandaloneSupport
|
||||||
m_APIs: 15000000
|
m_APIs: 1500000011000000
|
||||||
m_Automatic: 0
|
|
||||||
- m_BuildTarget: MacStandaloneSupport
|
|
||||||
m_APIs: 10000000
|
|
||||||
m_Automatic: 0
|
|
||||||
- m_BuildTarget: WindowsStandaloneSupport
|
|
||||||
m_APIs: 15000000
|
|
||||||
m_Automatic: 0
|
|
||||||
- m_BuildTarget: AndroidPlayer
|
|
||||||
m_APIs: 150000000b000000
|
|
||||||
m_Automatic: 0
|
m_Automatic: 0
|
||||||
m_BuildTargetVRSettings: []
|
m_BuildTargetVRSettings: []
|
||||||
m_DefaultShaderChunkSizeInMB: 16
|
m_DefaultShaderChunkSizeInMB: 16
|
||||||
|
|||||||
Reference in new issue
Block a user