Skip to content

Commit 63747b7

Browse files
feat: added trail
1 parent e870ab5 commit 63747b7

File tree

5 files changed

+553
-22
lines changed

5 files changed

+553
-22
lines changed

Assets/Scenes/Level1.unity

Lines changed: 112 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2147,7 +2147,7 @@ Transform:
21472147
m_GameObject: {fileID: 330585543}
21482148
serializedVersion: 2
21492149
m_LocalRotation: {x: 0.20314598, y: -0.001015736, z: 0.000210737, w: 0.9791479}
2150-
m_LocalPosition: {x: -21.85, y: 2.352, z: -21.66}
2150+
m_LocalPosition: {x: -21.85, y: 2.352, z: -22.08}
21512151
m_LocalScale: {x: 1, y: 1, z: 1}
21522152
m_ConstrainProportionsScale: 0
21532153
m_Children: []
@@ -10003,6 +10003,7 @@ GameObject:
1000310003
- component: {fileID: 1166695320}
1000410004
- component: {fileID: 1166695321}
1000510005
- component: {fileID: 1166695322}
10006+
- component: {fileID: 1166695323}
1000610007
m_Layer: 0
1000710008
m_Name: Player
1000810009
m_TagString: Player
@@ -10114,7 +10115,7 @@ Transform:
1011410115
m_GameObject: {fileID: 1166695311}
1011510116
serializedVersion: 2
1011610117
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
10117-
m_LocalPosition: {x: -21.86, y: 0.262, z: -16.84}
10118+
m_LocalPosition: {x: -21.86, y: 0.262, z: -17.26}
1011810119
m_LocalScale: {x: 1, y: 0.45452, z: 1}
1011910120
m_ConstrainProportionsScale: 0
1012010121
m_Children: []
@@ -10129,7 +10130,7 @@ Rigidbody:
1012910130
m_GameObject: {fileID: 1166695311}
1013010131
serializedVersion: 4
1013110132
m_Mass: 1
10132-
m_Drag: 0
10133+
m_Drag: 4
1013310134
m_AngularDrag: 0.05
1013410135
m_CenterOfMass: {x: 0, y: 0, z: 0}
1013510136
m_InertiaTensor: {x: 1, y: 1, z: 1}
@@ -10263,6 +10264,113 @@ MonoBehaviour:
1026310264
sparkleDuration: 2
1026410265
sparkleColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
1026510266
sparkleSpread: 5
10267+
--- !u!96 &1166695323
10268+
TrailRenderer:
10269+
serializedVersion: 3
10270+
m_ObjectHideFlags: 0
10271+
m_CorrespondingSourceObject: {fileID: 0}
10272+
m_PrefabInstance: {fileID: 0}
10273+
m_PrefabAsset: {fileID: 0}
10274+
m_GameObject: {fileID: 1166695311}
10275+
m_Enabled: 1
10276+
m_CastShadows: 1
10277+
m_ReceiveShadows: 1
10278+
m_DynamicOccludee: 1
10279+
m_StaticShadowCaster: 0
10280+
m_MotionVectors: 0
10281+
m_LightProbeUsage: 0
10282+
m_ReflectionProbeUsage: 0
10283+
m_RayTracingMode: 0
10284+
m_RayTraceProcedural: 0
10285+
m_RayTracingAccelStructBuildFlagsOverride: 0
10286+
m_RayTracingAccelStructBuildFlags: 1
10287+
m_SmallMeshCulling: 1
10288+
m_RenderingLayerMask: 1
10289+
m_RendererPriority: 0
10290+
m_Materials:
10291+
- {fileID: 2100000, guid: c3557f85164610846910f37026cf4f89, type: 2}
10292+
m_StaticBatchInfo:
10293+
firstSubMesh: 0
10294+
subMeshCount: 0
10295+
m_StaticBatchRoot: {fileID: 0}
10296+
m_ProbeAnchor: {fileID: 0}
10297+
m_LightProbeVolumeOverride: {fileID: 0}
10298+
m_ScaleInLightmap: 1
10299+
m_ReceiveGI: 1
10300+
m_PreserveUVs: 0
10301+
m_IgnoreNormalsForChartDetection: 0
10302+
m_ImportantGI: 0
10303+
m_StitchLightmapSeams: 1
10304+
m_SelectedEditorRenderState: 3
10305+
m_MinimumChartSize: 4
10306+
m_AutoUVMaxDistance: 0.5
10307+
m_AutoUVMaxAngle: 89
10308+
m_LightmapParameters: {fileID: 0}
10309+
m_SortingLayerID: 0
10310+
m_SortingLayer: 0
10311+
m_SortingOrder: 0
10312+
m_Time: 0.5
10313+
m_PreviewTimeScale: 1
10314+
m_Parameters:
10315+
serializedVersion: 3
10316+
widthMultiplier: 1
10317+
widthCurve:
10318+
serializedVersion: 2
10319+
m_Curve:
10320+
- serializedVersion: 3
10321+
time: 0.09989166
10322+
value: 0.7800007
10323+
inSlope: 0
10324+
outSlope: 0
10325+
tangentMode: 0
10326+
weightedMode: 0
10327+
inWeight: 0.33333334
10328+
outWeight: 0.33333334
10329+
m_PreInfinity: 2
10330+
m_PostInfinity: 2
10331+
m_RotationOrder: 4
10332+
colorGradient:
10333+
serializedVersion: 2
10334+
key0: {r: 1, g: 1, b: 1, a: 1}
10335+
key1: {r: 1, g: 1, b: 1, a: 1}
10336+
key2: {r: 0, g: 0, b: 0, a: 0}
10337+
key3: {r: 0, g: 0, b: 0, a: 0}
10338+
key4: {r: 0, g: 0, b: 0, a: 0}
10339+
key5: {r: 0, g: 0, b: 0, a: 0}
10340+
key6: {r: 0, g: 0, b: 0, a: 0}
10341+
key7: {r: 0, g: 0, b: 0, a: 0}
10342+
ctime0: 0
10343+
ctime1: 65535
10344+
ctime2: 0
10345+
ctime3: 0
10346+
ctime4: 0
10347+
ctime5: 0
10348+
ctime6: 0
10349+
ctime7: 0
10350+
atime0: 0
10351+
atime1: 65535
10352+
atime2: 0
10353+
atime3: 0
10354+
atime4: 0
10355+
atime5: 0
10356+
atime6: 0
10357+
atime7: 0
10358+
m_Mode: 2
10359+
m_ColorSpace: 0
10360+
m_NumColorKeys: 2
10361+
m_NumAlphaKeys: 2
10362+
numCornerVertices: 0
10363+
numCapVertices: 0
10364+
alignment: 0
10365+
textureMode: 0
10366+
textureScale: {x: 1, y: 1}
10367+
shadowBias: 0.5
10368+
generateLightingData: 0
10369+
m_MinVertexDistance: 0.1
10370+
m_MaskInteraction: 0
10371+
m_Autodestruct: 0
10372+
m_Emitting: 1
10373+
m_ApplyActiveColorSpace: 1
1026610374
--- !u!1 &1192910350
1026710375
GameObject:
1026810376
m_ObjectHideFlags: 0
@@ -11302,7 +11410,7 @@ Transform:
1130211410
m_GameObject: {fileID: 1279311372}
1130311411
serializedVersion: 2
1130411412
m_LocalRotation: {x: 0.20314598, y: -0.0010157359, z: 0.00021073695, w: 0.9791479}
11305-
m_LocalPosition: {x: -21.85, y: 2.352, z: -21.66}
11413+
m_LocalPosition: {x: -21.85, y: 2.352, z: -22.08}
1130611414
m_LocalScale: {x: 1, y: 1, z: 1}
1130711415
m_ConstrainProportionsScale: 0
1130811416
m_Children: []

Assets/Scenes/Level2.unity

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5649,6 +5649,7 @@ GameObject:
56495649
- component: {fileID: 945966554}
56505650
- component: {fileID: 945966555}
56515651
- component: {fileID: 945966556}
5652+
- component: {fileID: 945966557}
56525653
m_Layer: 0
56535654
m_Name: Player
56545655
m_TagString: Player
@@ -5909,6 +5910,113 @@ MonoBehaviour:
59095910
sparkleDuration: 2
59105911
sparkleColor: {r: 1, g: 0.92156863, b: 0.015686275, a: 1}
59115912
sparkleSpread: 5
5913+
--- !u!96 &945966557
5914+
TrailRenderer:
5915+
serializedVersion: 3
5916+
m_ObjectHideFlags: 0
5917+
m_CorrespondingSourceObject: {fileID: 0}
5918+
m_PrefabInstance: {fileID: 0}
5919+
m_PrefabAsset: {fileID: 0}
5920+
m_GameObject: {fileID: 945966544}
5921+
m_Enabled: 1
5922+
m_CastShadows: 1
5923+
m_ReceiveShadows: 1
5924+
m_DynamicOccludee: 1
5925+
m_StaticShadowCaster: 0
5926+
m_MotionVectors: 0
5927+
m_LightProbeUsage: 0
5928+
m_ReflectionProbeUsage: 0
5929+
m_RayTracingMode: 0
5930+
m_RayTraceProcedural: 0
5931+
m_RayTracingAccelStructBuildFlagsOverride: 0
5932+
m_RayTracingAccelStructBuildFlags: 1
5933+
m_SmallMeshCulling: 1
5934+
m_RenderingLayerMask: 1
5935+
m_RendererPriority: 0
5936+
m_Materials:
5937+
- {fileID: 2100000, guid: c3557f85164610846910f37026cf4f89, type: 2}
5938+
m_StaticBatchInfo:
5939+
firstSubMesh: 0
5940+
subMeshCount: 0
5941+
m_StaticBatchRoot: {fileID: 0}
5942+
m_ProbeAnchor: {fileID: 0}
5943+
m_LightProbeVolumeOverride: {fileID: 0}
5944+
m_ScaleInLightmap: 1
5945+
m_ReceiveGI: 1
5946+
m_PreserveUVs: 0
5947+
m_IgnoreNormalsForChartDetection: 0
5948+
m_ImportantGI: 0
5949+
m_StitchLightmapSeams: 1
5950+
m_SelectedEditorRenderState: 3
5951+
m_MinimumChartSize: 4
5952+
m_AutoUVMaxDistance: 0.5
5953+
m_AutoUVMaxAngle: 89
5954+
m_LightmapParameters: {fileID: 0}
5955+
m_SortingLayerID: 0
5956+
m_SortingLayer: 0
5957+
m_SortingOrder: 0
5958+
m_Time: 0.5
5959+
m_PreviewTimeScale: 1
5960+
m_Parameters:
5961+
serializedVersion: 3
5962+
widthMultiplier: 1
5963+
widthCurve:
5964+
serializedVersion: 2
5965+
m_Curve:
5966+
- serializedVersion: 3
5967+
time: 0.09989166
5968+
value: 0.7800007
5969+
inSlope: 0
5970+
outSlope: 0
5971+
tangentMode: 0
5972+
weightedMode: 0
5973+
inWeight: 0.33333334
5974+
outWeight: 0.33333334
5975+
m_PreInfinity: 2
5976+
m_PostInfinity: 2
5977+
m_RotationOrder: 4
5978+
colorGradient:
5979+
serializedVersion: 2
5980+
key0: {r: 1, g: 1, b: 1, a: 1}
5981+
key1: {r: 1, g: 1, b: 1, a: 1}
5982+
key2: {r: 0, g: 0, b: 0, a: 0}
5983+
key3: {r: 0, g: 0, b: 0, a: 0}
5984+
key4: {r: 0, g: 0, b: 0, a: 0}
5985+
key5: {r: 0, g: 0, b: 0, a: 0}
5986+
key6: {r: 0, g: 0, b: 0, a: 0}
5987+
key7: {r: 0, g: 0, b: 0, a: 0}
5988+
ctime0: 0
5989+
ctime1: 65535
5990+
ctime2: 0
5991+
ctime3: 0
5992+
ctime4: 0
5993+
ctime5: 0
5994+
ctime6: 0
5995+
ctime7: 0
5996+
atime0: 0
5997+
atime1: 65535
5998+
atime2: 0
5999+
atime3: 0
6000+
atime4: 0
6001+
atime5: 0
6002+
atime6: 0
6003+
atime7: 0
6004+
m_Mode: 2
6005+
m_ColorSpace: 0
6006+
m_NumColorKeys: 2
6007+
m_NumAlphaKeys: 2
6008+
numCornerVertices: 0
6009+
numCapVertices: 0
6010+
alignment: 0
6011+
textureMode: 0
6012+
textureScale: {x: 1, y: 1}
6013+
shadowBias: 0.5
6014+
generateLightingData: 0
6015+
m_MinVertexDistance: 0.1
6016+
m_MaskInteraction: 0
6017+
m_Autodestruct: 0
6018+
m_Emitting: 1
6019+
m_ApplyActiveColorSpace: 1
59126020
--- !u!1 &948847381
59136021
GameObject:
59146022
m_ObjectHideFlags: 0

0 commit comments

Comments
 (0)