private void OnTriggerEnter2D(Collider2D collision) { if (collision.gameObject.tag == "Danger") { Destroy(gameObject); PlayerUtility.setAttemptText(txt, AttemptsTracker.incrementAndGetAttemptLevelThree()); SceneManager.LoadScene(5); } }