IEnumerator holdon() { text.text = "Next level! Your score on this level was " + score.getScore() + " points!"; yield return(new WaitForSeconds(0)); text.text = ""; Application.LoadLevel(level_to_load); StopCoroutine(holdon()); }
void Start() { Debug.Log(score_object.getScore()); current_score = score_object.getScore(); }