How make the script wait/sleep in a simple way in unity
问题 How can put between the TextUI.text = .... a sleep function, for wait 3 seconds between each phrase? public Text GuessUI; public Text TextUI; [...truncated...] TextUI.text = \"Welcome to Number Wizard!\"; TextUI.text = (\"The highest number you can pick is \" + max); TextUI.text = (\"The lowest number you can pick is \" + min); I already tried various things but didn\'t worked, such this: TextUI.text = \"Welcome to Number Wizard!\"; yield WaitForSeconds (3); TextUI.text = (\"The highest