This commit is contained in:
Sewmina Dilshan 2022-12-16 22:04:23 +05:30
parent 1d555e0aee
commit 7d3d4cfe2c
137 changed files with 95785 additions and 496 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: e589aa1604021b34fb85d937ec41f47a
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -9635,7 +9635,7 @@ AudioSource:
m_Enabled: 1
serializedVersion: 4
OutputAudioMixerGroup: {fileID: 0}
m_audioClip: {fileID: 8300000, guid: 239823c0b628b0945a9d4d749be13794, type: 3}
m_audioClip: {fileID: 8300000, guid: fb43302325a39f042a2e5af46c0fb23a, type: 3}
m_PlayOnAwake: 1
m_Volume: 0.85
m_Pitch: 0.85

View File

@ -119,3 +119,4 @@ MonoBehaviour:
radius: 1.812
gizmoColor: {r: 0, g: 1, b: 0, a: 1}
active: 1
PickupEffect: {fileID: 6600959250872966517, guid: e176a56c1fdc3ea40b61205eab33aabb, type: 3}

Binary file not shown.

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: e1c26f9a64d162341981c7318c563f1c
guid: ed0651c697387e849b3e1e249da6bae1
AudioImporter:
externalObjects: {}
serializedVersion: 6

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: fb43302325a39f042a2e5af46c0fb23a
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

Binary file not shown.

View File

@ -0,0 +1,22 @@
fileFormatVersion: 2
guid: 44d0fa568b02acc4ba98aaf706e57bf7
AudioImporter:
externalObjects: {}
serializedVersion: 6
defaultSettings:
loadType: 0
sampleRateSetting: 0
sampleRateOverride: 44100
compressionFormat: 1
quality: 1
conversionMode: 0
platformSettingOverrides: {}
forceToMono: 0
normalize: 1
preloadAudioData: 1
loadInBackground: 0
ambisonic: 0
3D: 1
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -548,7 +548,7 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 0, y: 0}
m_AnchoredPosition: {x: 560.156, y: 0}
m_SizeDelta: {x: 0, y: 0}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &351774797
@ -1983,8 +1983,8 @@ RectTransform:
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 1}
m_AnchorMax: {x: 0.5, y: 1}
m_AnchoredPosition: {x: 0, y: -649.3976}
m_SizeDelta: {x: 971, y: 970}
m_AnchoredPosition: {x: 0.010956, y: -715.90247}
m_SizeDelta: {x: 1120.3, y: 528.235}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!114 &1356538174
MonoBehaviour:
@ -1999,7 +1999,7 @@ MonoBehaviour:
m_Name:
m_EditorClassIdentifier:
m_Material: {fileID: 2100000, guid: 728fa64fe6dd24aa5ae13b1da2514961, type: 2}
m_Color: {r: 0.9198113, g: 0.98496586, b: 1, a: 0.09803922}
m_Color: {r: 0.9198113, g: 0.98496586, b: 1, a: 0.019607844}
m_RaycastTarget: 0
m_RaycastPadding: {x: 0, y: 0, z: 0, w: 0}
m_Maskable: 1
@ -3617,6 +3617,10 @@ PrefabInstance:
propertyPath: starCollected
value:
objectReference: {fileID: 8300000, guid: 331b24a634b985e4eb24c5bbddfcf08f, type: 3}
- target: {fileID: 4756257046900231692, guid: 27ddde4075d406442bd20457ba93d69d, type: 3}
propertyPath: chestOpenRiser
value:
objectReference: {fileID: 0}
- target: {fileID: 4756257046900231692, guid: 27ddde4075d406442bd20457ba93d69d, type: 3}
propertyPath: minigameFailed
value:
@ -3637,6 +3641,10 @@ PrefabInstance:
propertyPath: bpOpen.Array.size
value: 2
objectReference: {fileID: 0}
- target: {fileID: 4756257046900231692, guid: 27ddde4075d406442bd20457ba93d69d, type: 3}
propertyPath: confettiExplosion
value:
objectReference: {fileID: 8300000, guid: 2dcd5da12751d034bb710af85ad18450, type: 3}
- target: {fileID: 4756257046900231692, guid: 27ddde4075d406442bd20457ba93d69d, type: 3}
propertyPath: musics.Array.size
value: 3

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: fe5e01438a49b3d4d9164ab9838c0e98
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 1e1476e8994a8ae49914999abfaf0521
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -7194,6 +7194,10 @@ PrefabInstance:
propertyPath: m_SizeDelta.y
value: 950
objectReference: {fileID: 0}
- target: {fileID: 4164082910810650888, guid: ac77354e7ae84d84e8eca6e8dcadfbe8, type: 3}
propertyPath: HapticToggle
value:
objectReference: {fileID: 2004813633}
- target: {fileID: 4164082910810650888, guid: ac77354e7ae84d84e8eca6e8dcadfbe8, type: 3}
propertyPath: OnChanged.m_PersistentCalls.m_Calls.Array.size
value: 1
@ -7326,6 +7330,11 @@ GameObject:
m_CorrespondingSourceObject: {fileID: 4164082910810650891, guid: ac77354e7ae84d84e8eca6e8dcadfbe8, type: 3}
m_PrefabInstance: {fileID: 773470068}
m_PrefabAsset: {fileID: 0}
--- !u!224 &773470071 stripped
RectTransform:
m_CorrespondingSourceObject: {fileID: 4164082909584456986, guid: ac77354e7ae84d84e8eca6e8dcadfbe8, type: 3}
m_PrefabInstance: {fileID: 773470068}
m_PrefabAsset: {fileID: 0}
--- !u!1 &799128814
GameObject:
m_ObjectHideFlags: 0
@ -8173,19 +8182,19 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchorMax.x
value: 0
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_SizeDelta.x
@ -8193,7 +8202,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_SizeDelta.y
value: 131.879
value: 131.87903
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_LocalPosition.x
@ -8225,11 +8234,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchoredPosition.x
value: 1111.0001
value: 102.00012
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_AnchoredPosition.y
value: -917
value: 131
objectReference: {fileID: 0}
- target: {fileID: 3901737671544378619, guid: fd6f0d38a3ce6954aaf3fd2ace269234, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -10548,19 +10557,19 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchorMax.x
value: 0
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchorMax.y
value: 1
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchorMin.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchorMin.y
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_SizeDelta.x
@ -10568,7 +10577,7 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_SizeDelta.y
value: 131.879
value: 131.87903
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_LocalPosition.x
@ -10600,11 +10609,11 @@ PrefabInstance:
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchoredPosition.x
value: 893
value: -116
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_AnchoredPosition.y
value: -917
value: 131
objectReference: {fileID: 0}
- target: {fileID: 2090662561714647924, guid: 73cec45d673e41b45a3bc95f551a0769, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
@ -10996,6 +11005,114 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1970618582}
m_CullTransparentMesh: 0
--- !u!1001 &2004813632
PrefabInstance:
m_ObjectHideFlags: 0
serializedVersion: 2
m_Modification:
m_TransformParent: {fileID: 773470071}
m_Modifications:
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_Pivot.x
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_Pivot.y
value: 0.5
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_RootOrder
value: 6
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_AnchorMax.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_AnchorMax.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_AnchorMin.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_AnchorMin.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_SizeDelta.x
value: 84
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_SizeDelta.y
value: 84
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalPosition.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalPosition.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalPosition.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalRotation.w
value: 1
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalRotation.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalRotation.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalRotation.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_AnchoredPosition.x
value: 201.8
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_AnchoredPosition.y
value: 149.1
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalEulerAnglesHint.x
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalEulerAnglesHint.y
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694924, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_LocalEulerAnglesHint.z
value: 0
objectReference: {fileID: 0}
- target: {fileID: 240801179202694925, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
propertyPath: m_Name
value: Toggle_RememberMe
objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
--- !u!114 &2004813633 stripped
MonoBehaviour:
m_CorrespondingSourceObject: {fileID: 240801179202694961, guid: 4fbbafd29c9af144bb1a06646fd61aba, type: 3}
m_PrefabInstance: {fileID: 2004813632}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 0}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
--- !u!1 &2058016605
GameObject:
m_ObjectHideFlags: 0
@ -13022,6 +13139,18 @@ MonoBehaviour:
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
- m_Target: {fileID: 332697608}
m_TargetAssemblyTypeName: SceneDataHolder, Assembly-CSharp
m_MethodName: ShowAd
m_Mode: 1
m_Arguments:
m_ObjectArgument: {fileID: 0}
m_ObjectArgumentAssemblyTypeName: UnityEngine.Object, UnityEngine
m_IntArgument: 0
m_FloatArgument: 0
m_StringArgument:
m_BoolArgument: 1
m_CallState: 2
--- !u!1 &5001849302241710807
GameObject:
m_ObjectHideFlags: 0

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,337 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!1 &240801179202694925
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 240801179202694924}
- component: {fileID: 240801179202694926}
- component: {fileID: 240801179202694927}
- component: {fileID: 240801179202694961}
m_Layer: 5
m_Name: Toggle_RememberMe
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &240801179202694924
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801179202694925}
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_Children:
- {fileID: 240801180606633992}
- {fileID: 240801181050238447}
m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0, y: 0}
m_AnchorMax: {x: 0, y: 0}
m_AnchoredPosition: {x: 201.8, y: 149.1}
m_SizeDelta: {x: 84, y: 84}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &240801179202694926
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801179202694925}
m_CullTransparentMesh: 0
--- !u!114 &240801179202694927
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801179202694925}
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: aa09dddc7c5f24d0983e3a6958f80a1c, 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!114 &240801179202694961
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801179202694925}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9085046f02f69544eb97fd06b6048fe2, type: 3}
m_Name:
m_EditorClassIdentifier:
m_Navigation:
m_Mode: 3
m_WrapAround: 0
m_SelectOnUp: {fileID: 0}
m_SelectOnDown: {fileID: 0}
m_SelectOnLeft: {fileID: 0}
m_SelectOnRight: {fileID: 0}
m_Transition: 1
m_Colors:
m_NormalColor: {r: 1, g: 1, b: 1, a: 1}
m_HighlightedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_PressedColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 1}
m_SelectedColor: {r: 0.9607843, g: 0.9607843, b: 0.9607843, a: 1}
m_DisabledColor: {r: 0.78431374, g: 0.78431374, b: 0.78431374, a: 0.5019608}
m_ColorMultiplier: 1
m_FadeDuration: 0.1
m_SpriteState:
m_HighlightedSprite: {fileID: 0}
m_PressedSprite: {fileID: 0}
m_SelectedSprite: {fileID: 0}
m_DisabledSprite: {fileID: 0}
m_AnimationTriggers:
m_NormalTrigger: Normal
m_HighlightedTrigger: Highlighted
m_PressedTrigger: Pressed
m_SelectedTrigger: Selected
m_DisabledTrigger: Disabled
m_Interactable: 1
m_TargetGraphic: {fileID: 240801179202694927}
toggleTransition: 1
graphic: {fileID: 240801180606633995}
m_Group: {fileID: 0}
onValueChanged:
m_PersistentCalls:
m_Calls: []
m_IsOn: 1
--- !u!1 &240801180606633993
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 240801180606633992}
- component: {fileID: 240801180606633994}
- component: {fileID: 240801180606633995}
m_Layer: 5
m_Name: Icon_Check
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &240801180606633992
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801180606633993}
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_Children: []
m_Father: {fileID: 240801179202694924}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
m_AnchorMin: {x: 0.5, y: 0.5}
m_AnchorMax: {x: 0.5, y: 0.5}
m_AnchoredPosition: {x: 0, y: 0}
m_SizeDelta: {x: 84, y: 84}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &240801180606633994
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801180606633993}
m_CullTransparentMesh: 0
--- !u!114 &240801180606633995
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801180606633993}
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: 558e1d0ef6ee24fee80dbf641857e8dc, 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!1 &240801181050238444
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
serializedVersion: 6
m_Component:
- component: {fileID: 240801181050238447}
- component: {fileID: 240801181050238225}
- component: {fileID: 240801181050238446}
m_Layer: 5
m_Name: Text_Me
m_TagString: Untagged
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
--- !u!224 &240801181050238447
RectTransform:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801181050238444}
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_Children: []
m_Father: {fileID: 240801179202694924}
m_RootOrder: 1
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: 285.4, y: 2.3999996}
m_SizeDelta: {x: 428.4, y: 102.20392}
m_Pivot: {x: 0.5, y: 0.5}
--- !u!222 &240801181050238225
CanvasRenderer:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801181050238444}
m_CullTransparentMesh: 0
--- !u!114 &240801181050238446
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 240801181050238444}
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: Vibration
m_isRightToLeft: 0
m_fontAsset: {fileID: 11400000, guid: c1482dbce654844b9ba1c753cbea5d80, type: 2}
m_sharedMaterial: {fileID: 7374927986402738804, guid: c1482dbce654844b9ba1c753cbea5d80, type: 2}
m_fontSharedMaterials: []
m_fontMaterial: {fileID: 0}
m_fontMaterials: []
m_fontColor32:
serializedVersion: 2
rgba: 4294967295
m_fontColor: {r: 1, g: 1, b: 1, a: 1}
m_enableVertexGradient: 0
m_colorMode: 3
m_fontColorGradient:
topLeft: {r: 1, g: 1, b: 1, a: 1}
topRight: {r: 1, g: 1, b: 1, a: 1}
bottomLeft: {r: 1, g: 1, b: 1, a: 1}
bottomRight: {r: 1, g: 1, b: 1, a: 1}
m_fontColorGradientPreset: {fileID: 0}
m_spriteAsset: {fileID: 0}
m_tintAllSprites: 0
m_StyleSheet: {fileID: 0}
m_TextStyleHashCode: -1183493901
m_overrideHtmlColors: 0
m_faceColor:
serializedVersion: 2
rgba: 4294967295
m_fontSize: 40
m_fontSizeBase: 40
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.62
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: 1
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}

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 4fbbafd29c9af144bb1a06646fd61aba
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

View File

@ -67,8 +67,8 @@ public class AdsManager : MonoBehaviour
}
private static UnityEvent onInterestitialClosed = new UnityEvent();
public static void AddOnInterestitialClosed(UnityAction e){
if(onInterestitialClosed==null){onInterestitialClosed = new UnityEvent();}
public static void SetOnInterestitialClosed(UnityAction e){
onInterestitialClosed = new UnityEvent();
onInterestitialClosed.AddListener(e);
}

View File

@ -1,5 +1,6 @@
using System.Collections;
using System.Collections.Generic;
using System.Threading.Tasks;
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
@ -26,6 +27,8 @@ public class AudioManager : MonoBehaviour
[SerializeField]private AudioClip bpFound;
[SerializeField]private AudioClip reward;
[SerializeField]private AudioClip gemsCollect;
[SerializeField]private AudioClip confettiExplosion;
[Header("Gold")]
public AudioClip collectGoldBegin;
@ -191,13 +194,17 @@ public class AudioManager : MonoBehaviour
audioSrc.PlayOneShot(minigameDied);
}
public void ConfettiExplosion(){
audioSrc.PlayOneShot(confettiExplosion);
}
public void TypeWriter(){
audioSrc.PlayOneShot(typewriters[Random.Range(0, typewriters.Length)],0.1f);
}
public void CollectGold(int amount){
public async void CollectGold(int amount){
audioSrc.PlayOneShot(collectGoldBegin);
await Task.Delay(300);
// int index = Mathf.Clamp((Mathf.Clamp(amount,0,100) / 100) * collectGoldArray.Length,0,collectGoldArray.Length-1);
int index =0;
if(amount < 10){

View File

@ -28,11 +28,7 @@ public class ChestOpener : MonoBehaviour
}
public async void OpenChest(ChestDataObject chestData){
if(chestData == EpicChestData){
AudioManager.instnace.EpicChestOpen();
}else{
AudioManager.instnace.ChestOpen();
}
chestOpenPopup.SetActive(true);
okButton.SetActive(false);
@ -103,11 +99,13 @@ public class ChestOpener : MonoBehaviour
//Chest opens here
confettiFX.Play();
StartCoroutine(PlaySFX(chestData == EpicChestData));
Debug.Log("Chest opening");
while (chestAnim.GetCurrentAnimatorStateInfo(0).IsName("openAnim")){
await Task.Delay(10);
}
Debug.Log("Chest opened");
DBmanager.SetGems(DBmanager.Gems + gemsCount);
DBmanager.SetCoins(DBmanager.Coins + goldCount);
@ -119,4 +117,17 @@ public class ChestOpener : MonoBehaviour
okButton.SetActive(true);
}
IEnumerator PlaySFX(bool isEpic){
yield return new WaitForSeconds(1f);
if(isEpic){
AudioManager.instnace.EpicChestOpen();
}else{
AudioManager.instnace.ChestOpen();
}
yield return new WaitForSeconds(0.8f);
confettiFX.GetComponent<AudioSource>().Play();
}
}

View File

@ -6,17 +6,26 @@ using UnityEngine.Events;
public class ControlSettings : MonoBehaviour
{
private const string ControlOnRightKey = "ControlOnRight";
private const string HapticKey = "ControlOnRight";
public Button left;
public Button right;
public Toggle HapticToggle;
public static bool ControlIsOnRight = true;
public static bool HapticEnabled = true;
public UnityEvent OnChanged;
void Awake()
{
if(PlayerPrefs.HasKey(ControlOnRightKey)){
ControlIsOnRight = PlayerPrefs.GetInt(ControlOnRightKey) == 1;
}
if(PlayerPrefs.HasKey(HapticKey)){
HapticEnabled = PlayerPrefs.GetInt(HapticKey) == 1;
}
left.onClick.AddListener(()=>{ChangeControlSide(true);});
right.onClick.AddListener(()=>{ChangeControlSide(false);});
HapticToggle.onValueChanged.AddListener(ToggleHaptic);
UpdateSettingsPage();
}
@ -25,12 +34,21 @@ public class ControlSettings : MonoBehaviour
PlayerPrefs.SetInt(ControlOnRightKey, value? 1: 0);
PlayerPrefs.Save();
UpdateSettingsPage();
AudioManager.instnace.UIClick();
OnChanged.Invoke();
AudioManager.instnace.UIClick();
}
public void ToggleHaptic(bool value){
PlayerPrefs.SetInt(HapticKey, value ? 1 : 0);
PlayerPrefs.Save();
HapticEnabled = value;
}
void UpdateSettingsPage(){
left.transform.GetChild(0).GetComponent<Image>().color = (!ControlIsOnRight) ? Color.blue : Color.green;
right.transform.GetChild(0).GetComponent<Image>().color = (ControlIsOnRight) ? Color.blue : Color.green;
HapticToggle.isOn = HapticEnabled;
}
}

View File

@ -197,9 +197,10 @@ public class DesignLab : MonoBehaviour
if(DBmanager.Metal < boxPrices[selectedBoxIndex]){
MessageDialog.instance.ShowMessage("Error", "Not enough energy to open this box");
return;
}
DBmanager.SetMetal(DBmanager.Metal-boxPrices[selectedBoxIndex]);
AudioManager.instnace.OpenBP();
newBoxPanel.SetActive(true);
string rarityName = "Common";
@ -253,6 +254,7 @@ public class DesignLab : MonoBehaviour
//UpgradeEffect.top_instance.Show(newSkinPanel.GetComponent<RectTransform>().position);
DBmanager.AddSkinBlueprint(skin);
AudioManager.instnace.ConfettiExplosion();
//Fullscreen FX
foreach (ParticleSystem particle in fullscreenFX)
@ -268,6 +270,8 @@ public class DesignLab : MonoBehaviour
// UpgradeEffect.top_instance.Show(goldsPanel.GetComponent<RectTransform>().position);
//Confetti
confettiFX.Play();
AudioManager.instnace.ConfettiExplosion();
DBmanager.SetCoins(DBmanager.Coins + amount);
Refresh();
}

View File

@ -6,7 +6,7 @@ using UnityEngine.SceneManagement;
public class MaintainceChecker : MonoBehaviour
{
public static int version = 24;
public static int version = 31;
public static MaintainceChecker instance;
public int checkInterval = 30;
float t;

View File

@ -13,7 +13,7 @@ public class CameraFollower : MonoBehaviour
public float smoothness = 0.1f;
public CameraUpdateMode updateMode;
public static CameraFollower instance{get; private set;}
public static void UpdateFrame()=> instance.HandleFrame();
public static void UpdateFrame() {if(instance.updateMode == CameraUpdateMode.Manual){ instance.HandleFrame();}}
void Awake(){
instance=this;
}

View File

@ -18,6 +18,7 @@ public class KillfeedMgr : MonoBehaviour
}
public void AddNewEntry(string message){
return;
for(int i =0; i < pool.Count; i++){
if(!pool[i].gameObject.activeSelf){
pool[i].SetEntry(message,entryAliveTime);

View File

@ -37,6 +37,10 @@ public class MinigameManager : NetworkBehaviour
private void Awake()
{
defaultJoyPos = joystick.transform.GetChild(0).GetComponent<RectTransform>().localPosition;
SwitchUISides();
// if(!DBmanager.LoggedIn){SceneManager.LoadScene(0);}
SceneData.GameManager = this;
instance = this;
@ -46,33 +50,62 @@ public class MinigameManager : NetworkBehaviour
safeZoneShrinkSpeed = mapRadius / safeZoneShrinkTime;
defaultJoyPos = joystick.transform.GetChild(0).GetComponent<RectTransform>().localPosition;
SwitchUISides();
}
Vector2 defaultJoyPos;
public void SwitchUISides(){
if(ControlSettings.ControlIsOnRight){
joystick.anchorMin = new Vector2(0,0);
joystick.anchorMax = new Vector2(0.5f, 1);
btn_boost.anchorMin = new Vector2(1,0);
btn_boost.anchorMax = new Vector2(1,0);
btn_boost.position = new Vector2(Screen.width-150, btn_boost.position.y);
Vector2 newDef = new Vector2(defaultJoyPos.x, defaultJoyPos.y);
if(isRanked){
if(ControlSettings.ControlIsOnRight){
RectTransform canvasRect = joystick.root.GetComponent<RectTransform>();
joystick.anchorMin = new Vector2(0f,0);
joystick.anchorMax = new Vector2(0.5f, 1);
joystick.localPosition = new Vector2(-canvasRect.sizeDelta.x /4f,0);
Vector2 newDef = new Vector2(defaultJoyPos.x, defaultJoyPos.y);
joystick.GetComponent<Joystick>().SetDefaultPosition(newDef);
joystick.GetComponent<Joystick>().SetDefaultPosition(newDef);
btn_boost.anchorMin = new Vector2(0,0);
btn_boost.anchorMax = new Vector2(0,0);
btn_boost.localPosition = new Vector2(150, btn_boost.localPosition.y);
Debug.Log(btn_boost.localPosition);
}else{
RectTransform canvasRect = joystick.root.GetComponent<RectTransform>();
joystick.anchorMin = new Vector2(0.5f,0);
joystick.anchorMax = new Vector2(1f, 1);
joystick.localPosition = new Vector2(canvasRect.sizeDelta.x /4f,0);
Vector2 newDef = new Vector2(-defaultJoyPos.x, defaultJoyPos.y);
joystick.GetComponent<Joystick>().SetDefaultPosition(newDef);
btn_boost.anchorMin = new Vector2(0,0);
btn_boost.anchorMax = new Vector2(0,0);
btn_boost.localPosition = new Vector2(150-(canvasRect.sizeDelta.x/2f), btn_boost.localPosition.y);
Debug.Log(btn_boost.localPosition);
}
}else{
joystick.anchorMin = new Vector2(0.5f,0);
joystick.anchorMax = new Vector2(1f, 1);
btn_boost.anchorMin = new Vector2(0,0);
btn_boost.anchorMax = new Vector2(0,0);
btn_boost.position = new Vector2(150, btn_boost.position.y);
Vector2 newDef = new Vector2(-defaultJoyPos.x, defaultJoyPos.y);
if(ControlSettings.ControlIsOnRight){
Debug.Log("Switching to right");
joystick.anchorMin = new Vector2(0,0);
joystick.anchorMax = new Vector2(0.5f, 1);
btn_boost.anchorMin = new Vector2(1,0);
btn_boost.anchorMax = new Vector2(1,0);
btn_boost.position = new Vector2(Screen.width-150, btn_boost.position.y);
Vector2 newDef = new Vector2(defaultJoyPos.x, defaultJoyPos.y);
joystick.GetComponent<Joystick>().SetDefaultPosition(newDef);
joystick.GetComponent<Joystick>().SetDefaultPosition(newDef);
}else{
joystick.anchorMin = new Vector2(0.5f,0);
joystick.anchorMax = new Vector2(1f, 1);
btn_boost.anchorMin = new Vector2(0,0);
btn_boost.anchorMax = new Vector2(0,0);
btn_boost.position = new Vector2(150, btn_boost.position.y);
Vector2 newDef = new Vector2(-defaultJoyPos.x, defaultJoyPos.y);
joystick.GetComponent<Joystick>().SetDefaultPosition(newDef);
}
}
}
@ -115,7 +148,11 @@ public class MinigameManager : NetworkBehaviour
}
}
if(RankedGameStarted && players.Length < 2){
//Forfeited!
winnerId = (int)players[0].netId;
// players[0].WonRanked();
}
if(RankedGameStarted){
if(timeElapsed > safeZoneCoolTime){
if(!shrinkStarted){
@ -144,11 +181,7 @@ public class MinigameManager : NetworkBehaviour
}
}
if(RankedGameStarted && players.Length < 2){
//Forfeited!
winnerId = (int)players[0].netId;
// players[0].WonRanked();
}
}
public void OnMapRadisuChanged(float oldVal, float newVal){
@ -309,9 +342,15 @@ public class MinigameManager : NetworkBehaviour
{
StartCoroutine(setRespawn(player));
}
public void Restart(){
if(SceneData.localPlayer.GetComponent<SpaceshipController>().dead){
SetRespawn(SceneData.localPlayer);
// SetRespawn(SceneData.localPlayer);
AdsManager.SetOnInterestitialClosed(()=>{SetRespawn(SceneData.localPlayer);});
if(!SceneData.holder.ShowAds()){
SetRespawn(SceneData.localPlayer);
}
}else{
Debug.LogError("You aren't dead, you can't restart unless you are dead.");
}

View File

@ -91,7 +91,6 @@ public class PickupItem : NetworkBehaviour
active=false;
// gameObject.SetActive(false);
StartCoroutine(MoveToPlayer(playerPos));
SceneData.GameManager.DeactivatePickupItem(this);
}
IEnumerator MoveToPlayer(Transform position){
@ -105,6 +104,8 @@ public class PickupItem : NetworkBehaviour
ParticleSystem particle = EffectPool.Spawn(PickupEffect, transform.position).GetComponent<ParticleSystem>();
particle.startColor = type.GetColor();
}
SceneData.GameManager.DeactivatePickupItem(this);
gameObject.SetActive(false);
}

View File

@ -47,14 +47,20 @@ public class SceneDataHolder : MonoBehaviour
}
public async void ShowAds(){
public void ShowAd(){
ShowAds();
}
public bool ShowAds(){
if(MinigameManager.instance.isRanked){
if(AdsManager.instance!=null && (DateTime.Now - lastShownTime).Minutes > 10){
AdsManager.instance.ShowInterestitial();
lastShownTime = DateTime.Now;
return true;
}
}
return false;
}
}

View File

@ -170,6 +170,7 @@ public class SkinShopManager : MonoBehaviour
void onUpgrade(){
upgradePanel.Show(selectedSkin.name);
AudioManager.instnace.UIPopup();
}
public void onBuy(){

View File

@ -180,13 +180,21 @@ public class SpaceshipController : NetworkBehaviour
}
CameraFollower.instance.ShakeBoost();
Vibrate();
// GameObject fx = EffectPool.Spawn(boostStartEffect, transform.position);
foreach(ParticleSystem particle in boostStartEffect){
particle.Play();
}
}
}
void Vibrate(){
#if UNITY_ANDROID
if(ControlSettings.HapticEnabled){
Handheld.Vibrate();
}
#endif
}
void OnBoostUp()
{
if (isLocalPlayer)
@ -312,6 +320,7 @@ public class SpaceshipController : NetworkBehaviour
int lastClientUpdateTime = 0;
Vector3 lineCorrection;
float scale => Mathf.Clamp(1 + (trailTime * _scaleMultiplier), 1, 10);
long lastTime ;
void Update()
{
if (MinigameManager.instance.isRanked && !MinigameManager.instance.RankedGameStarted) { return; }
@ -343,6 +352,12 @@ public class SpaceshipController : NetworkBehaviour
DBmanager.SetMostTime((int)survivalTime);
}
SceneData.SetTimerTxt(survivalTime);
body.position = Vector3.Lerp(body.position,targetState.Position,MovementSmoothnessFactor * movingSpeed * Vector2.Distance(targetState.Position, body.position));
body.rotation = Quaternion.Lerp(body.rotation, targetState.Rotation,MovementSmoothnessFactor*movingSpeed);
Debug.Log(lastTime - currentTick);
lastTime = targetState.Tick;
CameraFollower.UpdateFrame();
}
timer += Time.deltaTime;
@ -387,8 +402,8 @@ public class SpaceshipController : NetworkBehaviour
// transform.Rotate(transform.up * input.x);
UpdateStates(currentTick, NetworkTime.rtt, input, curState.Position, curState.Rotation);
body.position = targetState.Position;
body.rotation = targetState.Rotation;
// body.position = targetState.Position;
// body.rotation = targetState.Rotation;
// body.position = Vector3.Lerp(body.position,targetState.Position,MovementSmoothnessFactor * movingSpeed);
// body.rotation = Quaternion.Lerp(body.rotation, targetState.Rotation,MovementSmoothnessFactor*movingSpeed);
}else if (isServer){
@ -402,7 +417,7 @@ public class SpaceshipController : NetworkBehaviour
// HandleInput(m_Input);
// }
}
if(isLocalPlayer){CameraFollower.UpdateFrame();}
// if(isLocalPlayer){CameraFollower.UpdateFrame();}
float stateError = clientStateBuffer[bufferIndex].Difference(serverStateBuffer[latencyBufferIndex]);
foreach(ParticleSystem boostEffect in boostEffects){
@ -478,6 +493,7 @@ public class SpaceshipController : NetworkBehaviour
}
[ClientRpc]
void RpcRubberband(Vector3 m_position, Quaternion m_rotation){
return;
PlayerState serverState = new PlayerState(){Tick=0, Position = m_position, Rotation = m_rotation};
PlayerState clientState = new PlayerState(){Tick=0, Position = transform.position, Rotation = transform.rotation};
float diff = serverState.Difference(clientState);
@ -608,7 +624,7 @@ public class SpaceshipController : NetworkBehaviour
[ClientRpc]
void RpcShowDeathEffect(Vector2 position){
EffectPool.Spawn(DeathEffect, position);
EffectPool.Spawn(debrisEffect, position).GetComponent<DebrisEffect>().Play();
// EffectPool.Spawn(debrisEffect, position).GetComponent<DebrisEffect>().Play();
}
void OnKill()
@ -624,7 +640,7 @@ public class SpaceshipController : NetworkBehaviour
[ClientRpc]
void RpcOnKill()
{
Vibrate();
}
void OnKillsChanged(int oldVal, int newVal)
@ -700,6 +716,7 @@ public class SpaceshipController : NetworkBehaviour
{
MinigameManager.instance.SpawnLeftoverPickups(transform.position, (int)((float)Scores / 4f));
RpcShowDeathEffect(transform.position);
Debug.Log($"Sending death signal to {pname} by {killer}");
@ -739,6 +756,7 @@ public class SpaceshipController : NetworkBehaviour
if (MinigameManager.instance.winnerId <= 0)
{
Debug.LogError("Winner ID not synced yet");
checkWinner(1000);
}
if (MinigameManager.instance.winnerId != netId)
{
@ -757,6 +775,24 @@ public class SpaceshipController : NetworkBehaviour
}
}
async void checkWinner(int delay){
await System.Threading.Tasks.Task.Delay(delay);
if (MinigameManager.instance.winnerId != netId)
{
//LOSER!
MinigameManager.instance.rankedSummary.ShowLoss();
AudioManager.instnace.MinigameLost();
}
else
{
MinigameManager.instance.rankedSummary.ShowWin();
AudioManager.instnace.MinigameWon();
}
}
IEnumerator ShowRankedResults()
{
while (MinigameManager.instance.winnerId <= 0)

View File

@ -330,6 +330,8 @@ public class SelectedItemMenu : MonoBehaviour
}
public void OnGoldmineCapUpgrade(){
HideUpgradeMenu();
if(Selector.selectedBuilding.GetComponent<GoldMine>()!=null){
int L = Selector.selectedBuilding.curLevel+1;
int C = GoldMine.GetCapacityRateByLevel(L);
@ -340,7 +342,6 @@ public class SelectedItemMenu : MonoBehaviour
upgradeBtn.interactable= false;
Selector.selectedBuilding.Upgrade(newLevel:newLevel-1, gold_cost:GoldMine.GetGoldCostForCapacity(L), metal_cost: GoldMine.GetMetalCostForCapacity(L) );
// goldmineUpgradeMenu.SetActive(false);
HideUpgradeMenu();
OnUpgradeMenuClicked();
}else{
@ -359,6 +360,7 @@ public class SelectedItemMenu : MonoBehaviour
}
public void OnGoldmineProdUpgrade(){
HideUpgradeMenu();
if(Selector.selectedBuilding.GetComponent<GoldMine>()!=null){
int L = Selector.selectedBuilding.curLevel+1;
@ -379,9 +381,10 @@ public class SelectedItemMenu : MonoBehaviour
}
// goldmineUpgradeMenu.SetActive(false);
HideUpgradeMenu();
OnUpgradeMenuClicked();
HideUpgradeMenu();
}
void OnInfoClicked()

View File

@ -3387,18 +3387,4 @@ AnimationClip:
script: {fileID: 0}
m_HasGenericRootTransform: 1
m_HasMotionFloatCurves: 0
m_Events:
- time: 0
functionName: PlayChestOpenRiser
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0
- time: 1.3166667
functionName: PlayChestOpen
data:
objectReferenceParameter: {fileID: 0}
floatParameter: 0
intParameter: 0
messageOptions: 0
m_Events: []

28678
Assets/Nexy/PlaneBlast.prefab Normal file

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,7 @@
fileFormatVersion: 2
guid: 84ef2cd7d938212459beed61ff38bbe1
PrefabImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

28
Assets/Nexy/blink.mat Normal file
View File

@ -0,0 +1,28 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: blink
m_Shader: {fileID: 200, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: dff4d26ccb0e9464189a981ff95cf665, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _InvFade: 1
m_Colors:
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: dbf65c0ce6084e34d8c736379de993fa
timeCreated: 1461161016
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Nexy/blink.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View File

@ -0,0 +1,57 @@
fileFormatVersion: 2
guid: dff4d26ccb0e9464189a981ff95cf665
timeCreated: 1461161003
licenseType: Store
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 7
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
allowsAlphaSplitting: 0
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 1
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
outline: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

29
Assets/Nexy/dust.mat Normal file
View File

@ -0,0 +1,29 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 6
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: dust
m_Shader: {fileID: 203, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords:
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 2800000, guid: 9cecc83887ca4cc45be4bf93b2f50c30, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _InvFade: 1
m_Colors:
- _TintColor: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: c1254d407233159489f0bfdd68ac2975
timeCreated: 1446904037
licenseType: Store
NativeFormatImporter:
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Nexy/dust.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 27 KiB

158
Assets/Nexy/dust.png.meta Normal file
View File

@ -0,0 +1,158 @@
fileFormatVersion: 2
guid: 9cecc83887ca4cc45be4bf93b2f50c30
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 0
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: ca7e5c2071e5a12458797211768cfbda
guid: 2235ff4bbcb97dc4980a63708bf9cdb3
timeCreated: 1445967777
licenseType: Store
NativeFormatImporter:

View File

@ -1,5 +1,5 @@
fileFormatVersion: 2
guid: 75c3c792374dbb34d937885788e2b648
guid: 5564b141a26d5b04e934d389d39f99bc
TextureImporter:
internalIDToNameTable: []
externalObjects: {}

107
Assets/Nexy/planesprite.mat Normal file
View File

@ -0,0 +1,107 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: planesprite
m_Shader: {fileID: 10753, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 0
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AlphaTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: 158e26d74c01d1a40800fb9cf5dcf44f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- PixelSnap: 0
- _BlendOp: 0
- _BumpScale: 1
- _CameraFadingEnabled: 0
- _CameraFarFadeDistance: 2
- _CameraNearFadeDistance: 1
- _ColorMode: 0
- _Cull: 2
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DistortionBlend: 0.5
- _DistortionEnabled: 0
- _DistortionStrength: 1
- _DistortionStrengthScaled: 0
- _DstBlend: 0
- _EmissionEnabled: 0
- _EnableExternalAlpha: 0
- _FlipbookMode: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _LightingEnabled: 0
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SoftParticlesEnabled: 0
- _SoftParticlesFarFadeDistance: 1
- _SoftParticlesNearFadeDistance: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _CameraFadeParams: {r: 0, g: Infinity, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _ColorAddSubDiff: {r: 0, g: 0, b: 0, a: 0}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _Flip: {r: 1, g: 1, b: 1, a: 1}
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
- _SoftParticleFadeParams: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 99ec61fc2bf404a49a86dd9c90966139
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Nexy/planesprite.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 24 KiB

View File

@ -0,0 +1,158 @@
fileFormatVersion: 2
guid: 158e26d74c01d1a40800fb9cf5dcf44f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 1
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

BIN
Assets/Nexy/round glow.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

View File

@ -0,0 +1,158 @@
fileFormatVersion: 2
guid: a7bc05c0396cc834d8a40dc28c02ac73
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
mipmaps:
mipMapMode: 0
enableMipMap: 0
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
ignoreMasterTextureLimit: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 1
aniso: 0
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 0
nPOTScale: 0
lightmap: 0
compressionQuality: 50
spriteMode: 1
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 1
spriteTessellationDetail: -1
textureType: 8
textureShape: 1
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 1
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Server
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID: 5e97eb03825dee720800000000000000
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
nameFileIdTable: {}
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:

92
Assets/Nexy/trail2.mat Normal file
View File

@ -0,0 +1,92 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: trail2
m_Shader: {fileID: 10720, guid: 0000000000000000f000000000000000, type: 0}
m_ValidKeywords: []
m_InvalidKeywords: []
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _AlphaTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailAlbedoMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailMask:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _DetailNormalMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _EmissionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 2800000, guid: a7bc05c0396cc834d8a40dc28c02ac73, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _ParallaxMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _SpecGlossMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- PixelSnap: 0
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EnableExternalAlpha: 0
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _Flip: {r: 1, g: 1, b: 1, a: 1}
- _RendererColor: {r: 1, g: 1, b: 1, a: 1}
m_BuildTextureStacks: []

View File

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 46e4c502e2b9230438764252afec8f98
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

View File

@ -1 +1 @@
{"appleSKU":"","appleTeamID":"","enableCodelessAutoInitialization":false,"enableUnityGamingServicesAutoInitialization":true,"products":[{"id":"gems12","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"12 Gems Pack","description":"Receive 12 Gems"},"screenshotPath":"","applePriceTier":2,"googlePrice":{"data":[199,0,0,131072],"num":1.99},"pricingTemplateID":"1.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":40.0,"d":""}]},{"id":"gems40","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"40 Gems Pack","description":"Receive 40 Gems"},"screenshotPath":"","applePriceTier":5,"googlePrice":{"data":[499,0,0,131072],"num":4.99},"pricingTemplateID":"4.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":220.0,"d":""}]},{"id":"gems100","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"100 Gems Pack","description":"Receive 100 Gems"},"screenshotPath":"","applePriceTier":12,"googlePrice":{"data":[1199,0,0,131072],"num":11.99},"pricingTemplateID":"11.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":480.0,"d":""}]},{"id":"gems230","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"230 Gems Pack","description":"Receive 230 Gems"},"screenshotPath":"","applePriceTier":25,"googlePrice":{"data":[2499,0,0,131072],"num":24.99},"pricingTemplateID":"24.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":1200.0,"d":""}]},{"id":"gems500","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"500 Gems Pack","description":"Receive 500 Gems"},"screenshotPath":"","applePriceTier":50,"googlePrice":{"data":[4999,0,0,131072],"num":49.99},"pricingTemplateID":"49.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":2100.0,"d":""}]}]}
{"appleSKU":"","appleTeamID":"","enableCodelessAutoInitialization":true,"enableUnityGamingServicesAutoInitialization":true,"products":[{"id":"gems12","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"12 Gems Pack","description":"Receive 12 Gems"},"screenshotPath":"","applePriceTier":2,"googlePrice":{"data":[199,0,0,131072],"num":1.99},"pricingTemplateID":"1.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":40.0,"d":""}]},{"id":"gems40","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"40 Gems Pack","description":"Receive 40 Gems"},"screenshotPath":"","applePriceTier":5,"googlePrice":{"data":[499,0,0,131072],"num":4.99},"pricingTemplateID":"4.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":220.0,"d":""}]},{"id":"gems100","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"100 Gems Pack","description":"Receive 100 Gems"},"screenshotPath":"","applePriceTier":12,"googlePrice":{"data":[1199,0,0,131072],"num":11.99},"pricingTemplateID":"11.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":480.0,"d":""}]},{"id":"gems230","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"230 Gems Pack","description":"Receive 230 Gems"},"screenshotPath":"","applePriceTier":25,"googlePrice":{"data":[2499,0,0,131072],"num":24.99},"pricingTemplateID":"24.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":1200.0,"d":""}]},{"id":"gems500","type":0,"storeIDs":[],"defaultDescription":{"googleLocale":4,"title":"500 Gems Pack","description":"Receive 500 Gems"},"screenshotPath":"","applePriceTier":50,"googlePrice":{"data":[4999,0,0,131072],"num":49.99},"pricingTemplateID":"49.99","descriptions":[],"udpPrice":{"data":[0,0,0,0],"num":0.0},"payouts":[{"t":"Currency","st":"Gems","q":2100.0,"d":""}]}]}

View File

@ -134,7 +134,7 @@ PlayerSettings:
16:10: 1
16:9: 1
Others: 1
bundleVersion: 0.26
bundleVersion: 1.04
preloadedAssets: []
metroInputSource: 0
wsaTransparentSwapchain: 0
@ -160,7 +160,7 @@ PlayerSettings:
iPhone: 0
tvOS: 0
overrideDefaultApplicationIdentifier: 1
AndroidBundleVersionCode: 26
AndroidBundleVersionCode: 31
AndroidMinSdkVersion: 22
AndroidTargetSdkVersion: 33
AndroidPreferredInstallLocation: 1

View File

@ -1 +1 @@
4a43af9be3068c2f1c91015d79aff8f5df8595f3
727f59c3a4be5050fa39a6f14d386b6aebfd2746

View File

@ -1 +1 @@
9c15f20cae209a5e4ec1c07f41017dd48a41eecf
177b5ae58201a3752fd30db90a3b64eb95e3b51a

View File

@ -1 +1 @@
6d0508cc18c7a1c14bcc760642d2e93f602b05d7
15003d65b88aed5a51b1dd6910f7bab2742f2bb2

View File

@ -1 +1 @@
549d1dc1007224d49c1f4e33e542f0cd523c99ce
449ecb0253c37248937639585a973bba60b2b4e6

View File

@ -1 +1 @@
5d65d04813bfa4774ef00d7f19ca1a931132cb19
bc5117ffd83473f1c452f2899263d41f9112bbe5

View File

@ -1 +1 @@
9d88a0513ea1ae5c19ab1cc636926bca63610294
65028a68771a668865506be726eb75915e62f6dd

View File

@ -1 +1 @@
af3a9d8a41b15444348d27862bb1aa2f5c3af7a2
2447fe91fcebb7ec6169768c03dc3682046bfebf

View File

@ -1 +1 @@
58c846d676374e524951bff2b1026a1af3b21f99
a983ecd5e8404586a158a4725cb9db5dfa60264c

View File

@ -1 +1 @@
27dbfed5efb486c99a0043befc73cbc3e38af36a
57d052bba39411dcb7f7b86b3c7cf03b5f4bb7e2

View File

@ -1 +1 @@
e6c82bab6967ec419883e140dd6c8d96f7df4b96
eb900e3e6864066fb8ab27a7155e804d55d71e29

View File

@ -1 +1 @@
52c1fcdf0eea207257676f023581963b5e09cea1
561d67505473f25257c9272032a379ccc64d247e

View File

@ -1 +1 @@
8fa8248fec3a4a7da03bf165665be913a962806b
e505d018a3c6996e5a622fab6ed1761a7a09e775

View File

@ -1 +1 @@
0d125a567fad80a9c2feeae6814f5736e4371f27
37deda0fd6e5372ea71fcd737e3207696d4bd0c7

View File

@ -1 +1 @@
3184527066129b34aa4a6282bc5593059a407320
876404836d0352a8be951fd264534c74e1f78613

View File

@ -1 +1 @@
d7aa1d2dd5379a12fa46d72bb4002316a34a1178
278c582ba3360049fe8ee9710f858aea0644e6cf

View File

@ -1 +1 @@
41bf81b997e4527a7f719397cf3aeaf649237a9b
3c8112ed02f849dd59a574bd47681808f26af2da

View File

@ -1 +1 @@
4d29dbc45562c840784f70861b214a41d1278324
a276be97be03fcf710180d2061f159396801cee2

View File

@ -1 +1 @@
4520c6e80264747a7bfbe2fc80e71dc5230b4e91
e2cf7c49557ffe59cd0a3d12d12cc5c9161166df

View File

@ -1 +1 @@
9c3b78984695fa3c1a6ceead5828778b1356d461
f36afbdae879d1402e42257f9933b15517a9b44b

View File

@ -1 +1 @@
3fe0221bd06d7bf9840f646629fcbe8f9f4f59c4
6b175b9d59723019e5caa7b1f3563128221f216f

View File

@ -1 +1 @@
55298d9bac7ace62f414487f4bfda31d6be1aa1f
82906922111d1d1aca12df0d88571dea7973e285

View File

@ -1 +1 @@
526559732af1a12c0ae250ca28fdfa2a7e1665b9
e5b1b60c7e2a51ef62e566df16abd4159cd2cbe7

View File

@ -1 +1 @@
fbcca2974bf74b98639ca6ef8ee7f89c78423de4
18ff4ae775a6fd1aa7c169efaff04bc45bb70afd

View File

@ -1 +1 @@
68f2c15c188f4886e8956da298db03c782ffa030
a0f5e798dc5617f2fd19b48593eb2022920efe05

View File

@ -1 +1 @@
d5b7eeaf40b19a5c6aed1a71e6abc38db6dec958
d287fbff66cc2bb63d12935d5d64444e21fc1cee

View File

@ -1 +1 @@
dd06365b28477797d51f87489aad7ba648249bf8
c2ee1258890520a746b0d66831b57ee4ccb1473b

View File

@ -1 +1 @@
046a1cf93e8708431053f0af1c129572fb0898f5
d79d56185b8345d745238a263fc626cdf0c81e80

View File

@ -1 +1 @@
534c619dc78909ace0e0daa51507d8f2de5afd1b
a5943ed1bd7133db92a885846c1ec3145c0138c7

View File

@ -1 +1 @@
d22607ae726c741c71c406b6a75fc40a101871be
2a903905b6e980b3c63bf07494dd1bda1227c056

View File

@ -1 +1 @@
7ce25ef5ffda5880f32ac7a0241d587495a19337
5e672bf927c5c4623309a237e3030cba885d4ed6

View File

@ -1 +1 @@
63c677c2105b26242cf4dddd210cdd056492c024
a8ae0ff18a28dab4ab28c34932fb0d1e7a397bba

View File

@ -1 +1 @@
6c358d3c5fc87b63d542aa0bc376246560c6c01e
42761ba5852423cb78844f4d8f27ba1c8b01ce99

View File

@ -1 +1 @@
ddb695a8e6c984c1017dc3e4bff63c9f7eef9917
12194b5fae765012a5c1e642af46611d9fb467dc

Some files were not shown because too many files have changed in this diff Show More