title: How to make the script wait/sleep in a simple way in unity
body: <p>How can I put  a sleep function between the <code>TextUI.text = ....</code>, to wait 3 seconds between each phrase?</p>
  
  <pre><code>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);
  </code></pre>
  
  <p>I already tried various things but none have worked, such as this:</p>
  
  <pre><code>TextUI.text = "Welcome to Number Wizard!";
  yield WaitForSeconds (3);
  TextUI.text = ("The highest number you can pick is " + max);
  yield WaitForSeconds (3);
  TextUI.text = ("The lowest number you can pick is " + min);
  </code></pre>
  
  <p>In bash, it would be:</p>
  
  <pre><code>echo "Welcome to Number Wizard!"
  sleep 3
  echo "The highest number you can pick is 1000"
  sleep 3
  .....
  </code></pre>
  
  <p>but I can't figure out how to do this in Unity with C#</p>