Skip to content

Commit a7379cf

Browse files
author
KidBourbon
committed
Asset Cleanup
- Unused assets were removed
1 parent 06a4a48 commit a7379cf

File tree

554 files changed

+79
-36651
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

554 files changed

+79
-36651
lines changed

Assets/Scenes/GameScene.unity

+19-99
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ Transform:
292292
m_Children:
293293
- {fileID: 9178090179365875506}
294294
m_Father: {fileID: 905630498}
295-
m_RootOrder: 1
295+
m_RootOrder: 3
296296
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
297297
--- !u!114 &16448693
298298
MonoBehaviour:
@@ -318,7 +318,7 @@ MonoBehaviour:
318318
m_Script: {fileID: 11500000, guid: 99b3c5f6aac0af546ba1ebb5a42173be, type: 3}
319319
m_Name:
320320
m_EditorClassIdentifier:
321-
jumpForce: 680
321+
jumpForce: 690
322322
maxAmountJumps: 2
323323
checkRadius: 0.2
324324
isGrounded: 0
@@ -382,7 +382,6 @@ GameObject:
382382
serializedVersion: 6
383383
m_Component:
384384
- component: {fileID: 19889030}
385-
- component: {fileID: 19889031}
386385
m_Layer: 0
387386
m_Name: ObjectSpawner
388387
m_TagString: Untagged
@@ -398,29 +397,15 @@ Transform:
398397
m_PrefabAsset: {fileID: 0}
399398
m_GameObject: {fileID: 19889029}
400399
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
401-
m_LocalPosition: {x: -3, y: 0, z: 0}
400+
m_LocalPosition: {x: -3, y: 0, z: 10}
402401
m_LocalScale: {x: 1, y: 1, z: 1}
403402
m_ConstrainProportionsScale: 0
404403
m_Children:
405404
- {fileID: 1428771654}
406405
- {fileID: 1800899422}
407-
m_Father: {fileID: 0}
408-
m_RootOrder: 8
406+
m_Father: {fileID: 905630498}
407+
m_RootOrder: 0
409408
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
410-
--- !u!114 &19889031
411-
MonoBehaviour:
412-
m_ObjectHideFlags: 0
413-
m_CorrespondingSourceObject: {fileID: 0}
414-
m_PrefabInstance: {fileID: 0}
415-
m_PrefabAsset: {fileID: 0}
416-
m_GameObject: {fileID: 19889029}
417-
m_Enabled: 1
418-
m_EditorHideFlags: 0
419-
m_Script: {fileID: 11500000, guid: 2c0412c3e392330438eb6f1c42cb4e87, type: 3}
420-
m_Name:
421-
m_EditorClassIdentifier:
422-
anchorType: 5
423-
anchorOffset: {x: -18, y: 0, z: 0}
424409
--- !u!1 &33866658
425410
GameObject:
426411
m_ObjectHideFlags: 0
@@ -431,7 +416,6 @@ GameObject:
431416
m_Component:
432417
- component: {fileID: 33866659}
433418
- component: {fileID: 33866661}
434-
- component: {fileID: 33866660}
435419
m_Layer: 6
436420
m_Name: Ground
437421
m_TagString: Ground
@@ -447,64 +431,13 @@ Transform:
447431
m_PrefabAsset: {fileID: 0}
448432
m_GameObject: {fileID: 33866658}
449433
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
450-
m_LocalPosition: {x: 0, y: -1.42961, z: 0}
434+
m_LocalPosition: {x: 0, y: -1.40625, z: 0}
451435
m_LocalScale: {x: 2.2525, y: 0.5147033, z: 1}
452436
m_ConstrainProportionsScale: 0
453437
m_Children: []
454438
m_Father: {fileID: 777088873}
455439
m_RootOrder: 0
456440
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
457-
--- !u!331 &33866660
458-
SpriteMask:
459-
m_ObjectHideFlags: 0
460-
m_CorrespondingSourceObject: {fileID: 0}
461-
m_PrefabInstance: {fileID: 0}
462-
m_PrefabAsset: {fileID: 0}
463-
m_GameObject: {fileID: 33866658}
464-
m_Enabled: 1
465-
m_CastShadows: 1
466-
m_ReceiveShadows: 1
467-
m_DynamicOccludee: 1
468-
m_StaticShadowCaster: 0
469-
m_MotionVectors: 1
470-
m_LightProbeUsage: 1
471-
m_ReflectionProbeUsage: 1
472-
m_RayTracingMode: 0
473-
m_RayTraceProcedural: 0
474-
m_RenderingLayerMask: 1
475-
m_RendererPriority: 0
476-
m_Materials:
477-
- {fileID: 10758, guid: 0000000000000000f000000000000000, type: 0}
478-
m_StaticBatchInfo:
479-
firstSubMesh: 0
480-
subMeshCount: 0
481-
m_StaticBatchRoot: {fileID: 0}
482-
m_ProbeAnchor: {fileID: 0}
483-
m_LightProbeVolumeOverride: {fileID: 0}
484-
m_ScaleInLightmap: 1
485-
m_ReceiveGI: 1
486-
m_PreserveUVs: 0
487-
m_IgnoreNormalsForChartDetection: 0
488-
m_ImportantGI: 0
489-
m_StitchLightmapSeams: 1
490-
m_SelectedEditorRenderState: 3
491-
m_MinimumChartSize: 4
492-
m_AutoUVMaxDistance: 0.5
493-
m_AutoUVMaxAngle: 89
494-
m_LightmapParameters: {fileID: 0}
495-
m_SortingLayerID: 0
496-
m_SortingLayer: 0
497-
m_SortingOrder: 0
498-
m_Sprite: {fileID: 7482667652216324306, guid: 4d7021727c693ec40903b8f32de22cdf, type: 3}
499-
m_MaskAlphaCutoff: 0.2
500-
m_FrontSortingLayerID: 0
501-
m_BackSortingLayerID: 0
502-
m_FrontSortingLayer: 0
503-
m_BackSortingLayer: 0
504-
m_FrontSortingOrder: 0
505-
m_BackSortingOrder: -171
506-
m_IsCustomRangeActive: 0
507-
m_SpriteSortPoint: 0
508441
--- !u!61 &33866661
509442
BoxCollider2D:
510443
m_ObjectHideFlags: 0
@@ -1001,7 +934,7 @@ Transform:
1001934
m_ConstrainProportionsScale: 0
1002935
m_Children: []
1003936
m_Father: {fileID: 0}
1004-
m_RootOrder: 7
937+
m_RootOrder: 6
1005938
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
1006939
--- !u!114 &291222118
1007940
MonoBehaviour:
@@ -1714,7 +1647,7 @@ Transform:
17141647
- {fileID: 68397102}
17151648
- {fileID: 1951886216}
17161649
m_Father: {fileID: 905630498}
1717-
m_RootOrder: 0
1650+
m_RootOrder: 2
17181651
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
17191652
--- !u!1 &496549590
17201653
GameObject:
@@ -2224,7 +2157,7 @@ Transform:
22242157
m_PrefabAsset: {fileID: 0}
22252158
m_GameObject: {fileID: 674087048}
22262159
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
2227-
m_LocalPosition: {x: -1.1, y: 0, z: 0}
2160+
m_LocalPosition: {x: -0.907, y: 0, z: 0}
22282161
m_LocalScale: {x: 1, y: 1, z: 1}
22292162
m_ConstrainProportionsScale: 0
22302163
m_Children: []
@@ -2309,7 +2242,7 @@ Transform:
23092242
- {fileID: 1624077170}
23102243
- {fileID: 1118280529}
23112244
m_Father: {fileID: 0}
2312-
m_RootOrder: 4
2245+
m_RootOrder: 3
23132246
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
23142247
--- !u!1 &777088871
23152248
GameObject:
@@ -2320,44 +2253,29 @@ GameObject:
23202253
serializedVersion: 6
23212254
m_Component:
23222255
- component: {fileID: 777088873}
2323-
- component: {fileID: 777088872}
23242256
m_Layer: 0
23252257
m_Name: Environment
23262258
m_TagString: Untagged
23272259
m_Icon: {fileID: 0}
23282260
m_NavMeshLayer: 0
23292261
m_StaticEditorFlags: 0
23302262
m_IsActive: 1
2331-
--- !u!114 &777088872
2332-
MonoBehaviour:
2333-
m_ObjectHideFlags: 0
2334-
m_CorrespondingSourceObject: {fileID: 0}
2335-
m_PrefabInstance: {fileID: 0}
2336-
m_PrefabAsset: {fileID: 0}
2337-
m_GameObject: {fileID: 777088871}
2338-
m_Enabled: 1
2339-
m_EditorHideFlags: 0
2340-
m_Script: {fileID: 11500000, guid: 2c0412c3e392330438eb6f1c42cb4e87, type: 3}
2341-
m_Name:
2342-
m_EditorClassIdentifier:
2343-
anchorType: 4
2344-
anchorOffset: {x: 0, y: 0, z: 0}
23452263
--- !u!4 &777088873
23462264
Transform:
23472265
m_ObjectHideFlags: 0
23482266
m_CorrespondingSourceObject: {fileID: 0}
23492267
m_PrefabInstance: {fileID: 0}
23502268
m_PrefabAsset: {fileID: 0}
23512269
m_GameObject: {fileID: 777088871}
2352-
m_LocalRotation: {x: 0, y: 0, z: 0, w: 1}
2353-
m_LocalPosition: {x: 0, y: 0, z: 0}
2270+
m_LocalRotation: {x: -0, y: -0, z: -0, w: 1}
2271+
m_LocalPosition: {x: 0, y: 0, z: 10}
23542272
m_LocalScale: {x: 18, y: 6, z: 1}
23552273
m_ConstrainProportionsScale: 0
23562274
m_Children:
23572275
- {fileID: 33866659}
23582276
- {fileID: 674087049}
2359-
m_Father: {fileID: 0}
2360-
m_RootOrder: 3
2277+
m_Father: {fileID: 905630498}
2278+
m_RootOrder: 1
23612279
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
23622280
--- !u!1 &827023055
23632281
GameObject:
@@ -2591,10 +2509,12 @@ Transform:
25912509
m_LocalScale: {x: 1, y: 1, z: 1}
25922510
m_ConstrainProportionsScale: 0
25932511
m_Children:
2512+
- {fileID: 19889030}
2513+
- {fileID: 777088873}
25942514
- {fileID: 458964735}
25952515
- {fileID: 16448692}
25962516
m_Father: {fileID: 0}
2597-
m_RootOrder: 9
2517+
m_RootOrder: 7
25982518
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
25992519
--- !u!1 &928299580
26002520
GameObject:
@@ -2878,7 +2798,7 @@ Transform:
28782798
m_ConstrainProportionsScale: 0
28792799
m_Children: []
28802800
m_Father: {fileID: 0}
2881-
m_RootOrder: 6
2801+
m_RootOrder: 5
28822802
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
28832803
--- !u!1 &1033701835
28842804
GameObject:
@@ -3514,7 +3434,7 @@ Transform:
35143434
m_ConstrainProportionsScale: 0
35153435
m_Children: []
35163436
m_Father: {fileID: 0}
3517-
m_RootOrder: 5
3437+
m_RootOrder: 4
35183438
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
35193439
--- !u!114 &1527827226
35203440
MonoBehaviour:

Assets/Scripts/CheckTrigger.cs

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using UnityEngine;
2-
using UnityEngine.SocialPlatforms.Impl;
32

43
public class CheckTrigger : MonoBehaviour
54
{
@@ -12,10 +11,10 @@ private void OnTriggerEnter2D(Collider2D collision)
1211

1312
// Add score
1413
GameManager.Instance.AddScore();
15-
14+
1615
// Change to next background if score is a multiple of 5
1716
GameManager.Instance.ChangeBackground();
18-
17+
1918
// Disable the food
2019
collision.gameObject.SetActive(false);
2120
}

Assets/Scripts/ObstacleSpawner.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ private void SpawnObstacle()
3232
obstacle.SetActive(true);
3333
height = obstacle.GetComponent<InitialPosition>().StarterTransform.position.y;
3434
obstacle.transform.position = transform.position + new Vector3(0, height, 0);
35-
35+
3636
SetSpawningTime();
3737
}
3838

Assets/Scripts/ParallaxBackground_0.cs

+1-4
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,14 @@ void Start()
2626
}
2727
}
2828

29-
void FixedUpdate()
29+
void Update()
3030
{
3131
//Moving camera
3232
if (Camera_Move && GameManager.Instance.IsGameActive)
3333
{
3434
_camera.position += Vector3.right * Time.deltaTime * Camera_MoveSpeed;
3535
}
36-
}
3736

38-
void Update()
39-
{
4037
if (GameManager.Instance.IsGameActive)
4138
{
4239
for (int i = 0; i < 5; i++)

0 commit comments

Comments
 (0)