// Collision collider consider the physics of the object(the ball stops on the LoseObject) void OnCollisionEnter2D(Collision2D collision) { Debug.Log("OnCollisionEnter2D"); // the ball hits the ground. So the game ends. blockSceneManager.goToScene("Lose"); }