void OnCollisionEnter2D(Collision2D coll) { if (coll.gameObject.tag == "Player" && !_makePasscode) { TopDownControls playerController = coll.gameObject.GetComponent <TopDownControls>(); playerController._numeralData.AddRange(_numerals); StringBuilder sb = new StringBuilder(); foreach (char numeral in _numerals) { sb.Append(numeral); } _PauseController._txtRomanNumeralData.GetComponent <Text>().text += sb.ToString(); _PauseController.GenericPause("You found some Numerals in a memory fragment. Maybe this is a clue to get to the core? \r\n" + sb.ToString()); Destroy(gameObject); } else if (coll.gameObject.tag == "Player" && _makePasscode) { _PauseController.ShowPasscodeScreen(this); } }