//UNUSED at the moment IEnumerator Type() { //dialogueBar.SetActive(true); dialogueAnim.SetTrigger("popup"); pauseGame.PauseWithoutMenu(); /* * foreach(char letter in sentences[index].ToCharArray()){ * textDisplay.text += letter; * * } */ textDisplay.text = sentences[index]; yield return(new WaitForSeconds(speed)); //Debug.Log("yielded..."); pauseGame.UnpauseWithoutMenu(); //dialogueBar.SetActive(false); dialogueAnim.SetTrigger("hide"); }