public void ResetGame() { player = GameObject.FindGameObjectWithTag("Check").GetComponent<Jump>(); player.Die (); }