private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "Enemy") { SceneChangeManager.LoadGameOverScene(); } }
private void OnCollisionEnter2D(Collision2D collision) { if (collision.gameObject.tag == "Enemy") { SceneChangeManager.LoadGameOverScene(); } }