Removed Debug.Log() and renamed scene
This commit is contained in:
parent
a0bb035c4c
commit
755d4100cc
@ -7,11 +7,9 @@ public class Death : MonoBehaviour
|
|||||||
{
|
{
|
||||||
|
|
||||||
void Start() {
|
void Start() {
|
||||||
Debug.Log("hello");
|
|
||||||
}
|
}
|
||||||
private void OnCollisionEnter2D (Collision2D collisionInfo)
|
private void OnCollisionEnter2D (Collision2D collisionInfo)
|
||||||
{
|
{
|
||||||
Debug.Log(collisionInfo.collider.transform);
|
|
||||||
collisionInfo.collider.transform.position = Vector3.zero;
|
collisionInfo.collider.transform.position = Vector3.zero;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user