IEnumerator Terraform(int iterations) { int i = 0; while (i < iterations) { text.text = i.ToString(); generator.DivideSphere(); i++; yield return(null); } }