Build Shop

Shop now shows the current coins of the player
This commit is contained in:
brausjonas committed 2023-04-14 23:54:41 +02:00
1 parent 59b80c0ab2
commit 7e9d715574
5 files changed
+459 -118

No files matched your search

@@ -146,7 +146,7 @@ Texture2D:
m_ColorSpace: 0
m_PlatformBlob:
image data: 1048576
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060a0b101314130f0a090400000000000000000000000000000000000000000000000000000000000000070b0c101417191a1b1b1a191714100d0b07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001080c0e14191a1b19140c0b0700000000000000000000000000000000000000000000000000000000000000000000000000000207090c1013151718191919191815130f0b090500000000000000000000000000000000000000000000000000000000000000000308090a090803000000000000000000000000000000000000000000000106080806010000000000000000000000000000000000000000000000000000000004090a0a0804000000000000000000000000000000000000000000000000000000000000000003080a0a0a08030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f171c1e23252625211c1b150d040000000000000000000000000000000000000000000000000000050910181d1e2326292b2c2d2d2c2b2926231f1d18100a06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000311191e20272b2d2d2b261f1d18100300000000000000000000000000000000000000000000000000000000000000000004090a13191b1f222527292a2b2b2c2b2a2825211d1b160e0905000000000000000000000000000000000000000000000000000003090b14191c1d1c19140b080300000000000000000000000000000000060a0b14191b1b18130b0a050000000000000000000000000000000000000000000207090d151a1c1c1a150c0c08010000000000000000000000000000000000000000000000000308090c141a1c1d1c1a140c0803000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
_typelessdata: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060a0b101314130f0a090400000000000000000000000000000000000000000000000000000000000000070b0c101417191a1b1b1a191714100d0b07000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001080c0e14191a1b19140c0b0700000000000000000000000000000000000000000000000000000000000000000000000000000207090c1013151718191919191815130f0b090500000000000000000000000000000000000000000000000000000000000000000308090a090803000000000000000000000000000000000000000000000106080806010000000000000000000000000000000000000000000000000000000004090a0a0804000000000000000000000000000000000000000000000000000000000000000003080a0a0a08030000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000060f171c1e23252625211c1b150d040000000000000000000000000000000000000000000000000000050910181d1e2326292b2c2d2d2c2b2926231f1d18100a06000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000311191e20272b2d2d2b261f1d18100300000000000000000000000000000000000000000000000000000000000000000004090a13191b1f222527292a2b2b2c2b2a2825211d1b160e0905000000000000000000000000000000000000000000000000000003090b14191c1d1c19140b080300000000000000000000000000000000060a0b14191b1b18130b0a050000000000000000000000000000000000000000000207090d151a1c1c1a150c0c08010000000000000000000000000000000000000000000000000308090c141a1c1d1c1a140c0803000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000Line truncated
m_StreamData:
serializedVersion: 2
offset: 0
@@ -1260,6 +1260,36 @@ MonoBehaviour:
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 41
m_Metrics:
m_Width: 37.984375
m_Height: 64.265625
m_HorizontalBearingX: 2.25
m_HorizontalBearingY: 64.171875
m_HorizontalAdvance: 41.40625
m_GlyphRect:
m_X: 277
m_Y: 336
m_Width: 39
m_Height: 66
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
- m_Index: 14
m_Metrics:
m_Width: 37.796875
m_Height: 34.5625
m_HorizontalBearingX: 2.703125
m_HorizontalBearingY: 48.78125
m_HorizontalAdvance: 43.203125
m_GlyphRect:
m_X: 188
m_Y: 178
m_Width: 39
m_Height: 35
m_Scale: 1
m_AtlasIndex: 0
m_ClassDefinitionType: 0
m_CharacterTable:
- m_ElementType: 1
m_Unicode: 32
@@ -1545,6 +1575,14 @@ MonoBehaviour:
m_Unicode: 77
m_GlyphIndex: 48
m_Scale: 1
- m_ElementType: 1
m_Unicode: 70
m_GlyphIndex: 41
m_Scale: 1
- m_ElementType: 1
m_Unicode: 43
m_GlyphIndex: 14
m_Scale: 1
m_AtlasTextures:
- {fileID: -525267011981432032}
m_AtlasTextureIndex: 0
@@ -1831,6 +1869,14 @@ MonoBehaviour:
m_Y: 0
m_Width: 72
m_Height: 78
- m_X: 270
m_Y: 329
m_Width: 52
m_Height: 79
- m_X: 181
m_Y: 171
m_Width: 52
m_Height: 48
m_FreeGlyphRects:
- m_X: 32
m_Y: 78
@@ -2040,38 +2086,14 @@ MonoBehaviour:
m_Y: 987
m_Width: 630
m_Height: 36
- m_X: 181
m_Y: 171
m_Width: 57
m_Height: 62
- m_X: 230
m_Y: 156
m_Width: 8
m_Height: 77
- m_X: 238
m_Y: 240
m_Width: 5
m_Height: 70
- m_X: 243
m_Y: 329
m_Width: 780
m_Height: 58
- m_X: 270
m_Y: 329
m_Width: 753
m_Height: 137
- m_X: 297
m_Y: 240
m_Width: 726
m_Height: 226
- m_X: 323
m_Y: 78
m_Width: 700
m_Height: 580
- m_X: 305
m_Y: 78
m_Width: 718
m_Height: 466
- m_X: 331
m_Y: 78
m_Width: 692
@@ -2084,6 +2106,42 @@ MonoBehaviour:
m_Y: 78
m_Width: 743
m_Height: 78
- m_X: 243
m_Y: 329
m_Width: 27
m_Height: 58
- m_X: 270
m_Y: 408
m_Width: 753
m_Height: 58
- m_X: 297
m_Y: 240
m_Width: 726
m_Height: 89
- m_X: 305
m_Y: 78
m_Width: 718
m_Height: 251
- m_X: 305
m_Y: 408
m_Width: 718
m_Height: 136
- m_X: 322
m_Y: 78
m_Width: 701
m_Height: 466
- m_X: 181
m_Y: 219
m_Width: 57
m_Height: 14
- m_X: 230
m_Y: 156
m_Width: 8
m_Height: 15
- m_X: 233
m_Y: 156
m_Width: 5
m_Height: 77
m_fontInfo:
Name:
PointSize: 0
+240 -24
View File
@@ -538,7 +538,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.7837224, g: 0.8509804, b: 0.34901968, a: 1}
maxColor: {r: 0.8490566, g: 0.7693652, b: 0.34042364, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -2508,7 +2508,7 @@ ParticleSystem:
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
enabled: 1
x:
serializedVersion: 2
minMaxState: 0
@@ -2565,7 +2565,7 @@ ParticleSystem:
y:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.23
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -2668,7 +2668,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
@@ -7096,7 +7096,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.7837224, g: 0.8509804, b: 0.34901968, a: 1}
maxColor: {r: 0.8490566, g: 0.7693652, b: 0.34042364, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -9066,7 +9066,7 @@ ParticleSystem:
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
enabled: 1
x:
serializedVersion: 2
minMaxState: 0
@@ -9123,7 +9123,7 @@ ParticleSystem:
y:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.23
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -9226,7 +9226,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
@@ -14945,7 +14945,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.7837224, g: 0.8509804, b: 0.34901968, a: 1}
maxColor: {r: 0.8490566, g: 0.7693652, b: 0.34042364, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -16915,7 +16915,7 @@ ParticleSystem:
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
enabled: 1
x:
serializedVersion: 2
minMaxState: 0
@@ -16972,7 +16972,7 @@ ParticleSystem:
y:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.23
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -17075,7 +17075,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
@@ -21046,6 +21046,143 @@ Transform:
m_Father: {fileID: 0}
m_RootOrder: 6
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!1 &535291477
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 535291478}
- component: {fileID: 535291480}
- component: {fileID: 535291479}
m_Layer: 5
m_Name: CoinsText
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &535291478
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535291477}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 1227575398}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0.5}
m_AnchorMax: {x: 0, y: 0.5}
m_AnchoredPosition: {x: 181.2, y: -0.000012398}
m_SizeDelta: {x: 208.2245, y: 43.2421}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &535291479
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535291477}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: f4688fdb7df04437aeb418b961361dc5, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_text: '0
'
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: 30b250cb342768045acde7309e218e46, type: 2}
m_sharedMaterial: {fileID: -996942129922571021, guid: 30b250cb342768045acde7309e218e46, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4282964710
m_fontColor: {r: 0.90196085, g: 0.854902, b: 0.28235295, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 42.05
m_fontSizeBase: 42.05
m_fontWeight: 400
m_enableAutoSizing: 0
m_fontSizeMin: 18
m_fontSizeMax: 72
m_fontStyle: 0
m_HorizontalAlignment: 1
m_VerticalAlignment: 512
m_textAlignment: 65535
m_characterSpacing: 0
m_wordSpacing: 0
m_lineSpacing: 0
m_lineSpacingMax: 0
m_paragraphSpacing: 0
m_charWidthMaxAdj: 0
m_enableWordWrapping: 1
m_wordWrappingRatios: 0.4
m_overflowMode: 0
m_linkedTextComponent: {fileID: 0}
parentLinkedComponent: {fileID: 0}
m_enableKerning: 1
m_enableExtraPadding: 0
checkPaddingRequired: 0
m_isRichText: 1
m_parseCtrlCharacters: 1
m_isOrthographic: 1
m_isCullingEnabled: 0
m_horizontalMapping: 0
m_verticalMapping: 0
m_uvLineOffset: 0
m_geometrySortingOrder: 0
m_IsTextObjectScaleStatic: 0
m_VertexBufferAutoSizeReduction: 0
m_useMaxVisibleDescender: 1
m_pageToDisplay: 1
m_margin: {x: 0, y: 0, z: 0, w: 0}
m_isUsingLegacyAnimationComponent: 0
m_isVolumetricText: 0
m_hasFontAssetChanged: 0
m_baseMaterial: {fileID: 0}
m_maskOffset: {x: 0, y: 0, z: 0, w: 0}
--- !u!222 &535291480
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 535291477}
m_CullTransparentMesh: 1
--- !u!1001 &582840967
PrefabInstance:
m_ObjectHideFlags: 0
@@ -27985,6 +28122,83 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1215802134}
m_CullTransparentMesh: 1
--- !u!1 &1227575397
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 1227575398}
- component: {fileID: 1227575400}
- component: {fileID: 1227575399}
m_Layer: 5
m_Name: CoinsInfo
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &1227575398
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1227575397}
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
m_LocalPosition: {x: 0, y: 0, z: 0}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children:
- {fileID: 535291478}
m_Father: {fileID: 1235522789}
m_RootOrder: 5
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: -21, y: 185.81}
m_SizeDelta: {x: 70, y: 70}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1227575399
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1227575397}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: fe87c0e1cc204ed48ad3b37840f39efc, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 0}
m_Color: {r: 1, g: 1, b: 1, a: 1}
m_RaycastTarget: 1
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
m_OnCullStateChanged:
m_PersistentCalls:
m_Calls: []
m_Sprite: {fileID: 21300000, guid: 7dd49c33817e9e540be187ce6b1678c5, type: 3}
m_Type: 0
m_PreserveAspect: 0
m_FillCenter: 1
m_FillMethod: 4
m_FillAmount: 1
m_FillClockwise: 1
m_FillOrigin: 0
m_UseSpriteMesh: 0
m_PixelsPerUnitMultiplier: 1
--- !u!222 &1227575400
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1227575397}
m_CullTransparentMesh: 1
--- !u!1 &1229194788
GameObject:
m_ObjectHideFlags: 0
@@ -28265,7 +28479,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.7837224, g: 0.8509804, b: 0.34901968, a: 1}
maxColor: {r: 0.8490566, g: 0.7693652, b: 0.34042364, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -30235,7 +30449,7 @@ ParticleSystem:
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
enabled: 1
x:
serializedVersion: 2
minMaxState: 0
@@ -30292,7 +30506,7 @@ ParticleSystem:
y:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.23
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -30395,7 +30609,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
@@ -32840,6 +33054,7 @@ RectTransform:
- {fileID: 200446443}
- {fileID: 452966610}
- {fileID: 1912330178}
- {fileID: 1227575398}
m_Father: {fileID: 335464105}
m_RootOrder: 4
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
@@ -32864,6 +33079,7 @@ MonoBehaviour:
- {fileID: 1547369680}
- {fileID: 1261969992}
- {fileID: 200446444}
textPlayerCoins: {fileID: 535291479}
--- !u!1 &1237875978
GameObject:
m_ObjectHideFlags: 0
@@ -38302,7 +38518,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.7837224, g: 0.8509804, b: 0.34901968, a: 1}
maxColor: {r: 0.8490566, g: 0.7693652, b: 0.34042364, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -40272,7 +40488,7 @@ ParticleSystem:
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
enabled: 1
x:
serializedVersion: 2
minMaxState: 0
@@ -40329,7 +40545,7 @@ ParticleSystem:
y:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.23
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -40432,7 +40648,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
@@ -45809,7 +46025,7 @@ ParticleSystem:
serializedVersion: 2
minMaxState: 0
minColor: {r: 1, g: 1, b: 1, a: 1}
maxColor: {r: 0.7837224, g: 0.8509804, b: 0.34901968, a: 1}
maxColor: {r: 0.8490566, g: 0.7693652, b: 0.34042364, a: 1}
maxGradient:
serializedVersion: 2
key0: {r: 1, g: 1, b: 1, a: 1}
@@ -47779,7 +47995,7 @@ ParticleSystem:
m_RotationOrder: 4
m_Range: {x: 0, y: 1}
ForceModule:
enabled: 0
enabled: 1
x:
serializedVersion: 2
minMaxState: 0
@@ -47836,7 +48052,7 @@ ParticleSystem:
y:
serializedVersion: 2
minMaxState: 0
scalar: 0
scalar: 0.23
minScalar: 0
maxCurve:
serializedVersion: 2
@@ -47939,7 +48155,7 @@ ParticleSystem:
m_PreInfinity: 2
m_PostInfinity: 2
m_RotationOrder: 4
inWorldSpace: 0
inWorldSpace: 1
randomizePerFrame: 0
ExternalForcesModule:
serializedVersion: 2
+3 -1
View File
@@ -8,17 +8,19 @@ public class ItemShop : MonoBehaviour
[SerializeField] private UIItem[] items;
public static Player currentPlayer = null;
[SerializeField] private TMP_Text textPlayerCoins;
public void Init(Player _currentPlayer)
{
currentPlayer = _currentPlayer;
textPlayerCoins.text = currentPlayer.coins + "";
}
private void Start()
{
foreach(UIItem ui in items)
{
TMP_Text text = ui.GetComponentInChildren<TMP_Text>();
TMP_Text text = ui.GetComponentsInChildren<TMP_Text>()[0];
text.text = ui.item.Cost + "";
}
}