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