IEnumerator RenewCorut() { while (true) { yield return(new WaitForSeconds(timeToRenew)); string textList = ""; int position; foreach (string rawLeader in trackPath.GetShipPositionTable(out position)) { textList += rawLeader + "\n"; } listText.text = textList; listTextOutline.text = textList; posText.text = position.ToString(); posTextOutline.text = position.ToString(); } }