From 755d4100ccc77df9aabe2ca9ef3b8d01ebfc0dc9 Mon Sep 17 00:00:00 2001 From: BRNSystems Date: Tue, 20 Jul 2021 20:40:17 +0200 Subject: [PATCH] Removed Debug.Log() and renamed scene --- Assets/Scenes/{SampleScene.unity => Level1.unity} | 0 Assets/Scenes/{SampleScene.unity.meta => Level1.unity.meta} | 0 Assets/Scripts/Death.cs | 2 -- 3 files changed, 2 deletions(-) rename Assets/Scenes/{SampleScene.unity => Level1.unity} (100%) rename Assets/Scenes/{SampleScene.unity.meta => Level1.unity.meta} (100%) diff --git a/Assets/Scenes/SampleScene.unity b/Assets/Scenes/Level1.unity similarity index 100% rename from Assets/Scenes/SampleScene.unity rename to Assets/Scenes/Level1.unity diff --git a/Assets/Scenes/SampleScene.unity.meta b/Assets/Scenes/Level1.unity.meta similarity index 100% rename from Assets/Scenes/SampleScene.unity.meta rename to Assets/Scenes/Level1.unity.meta diff --git a/Assets/Scripts/Death.cs b/Assets/Scripts/Death.cs index d21c7f1..8f2ffee 100644 --- a/Assets/Scripts/Death.cs +++ b/Assets/Scripts/Death.cs @@ -7,11 +7,9 @@ public class Death : MonoBehaviour { void Start() { - Debug.Log("hello"); } private void OnCollisionEnter2D (Collision2D collisionInfo) { - Debug.Log(collisionInfo.collider.transform); collisionInfo.collider.transform.position = Vector3.zero; } }