title: How to make a delay with C# in Unity3D?
body: <p>I just started to learn c# in unity. I followed a tutorial, but i wanna add some things. </p>
  
  <pre><code>using UnityEngine;
  using UnityEngine.UI;
  using System.Collections;
  
  public class PlayerController : MonoBehaviour {
  
      public float speed;
      public Text countText;
      public Text winText;
  
      private Rigidbody rb;
      private int count;
  
      void Start ()
      {
          rb = GetComponent&lt;Rigidbody&gt;();
          count = 0;
          SetCountText ();
          winText.text = "";
      }
  
      void FixedUpdate ()
      {
          float moveHorizontal = Input.GetAxis ("Horizontal");
          float moveVertical = Input.GetAxis ("Vertical");
  
          Vector3 movement = new Vector3 (moveHorizontal, 0.0f, moveVertical);
  
          rb.AddForce (movement * speed);
      }
  
      void OnTriggerEnter(Collider other) 
      {
          if (other.gameObject.CompareTag ( "Pick Up"))
          {
              other.gameObject.SetActive (false);
              count = count + 1;
              SetCountText ();
          }
      }
  
      void SetCountText ()
      {
          countText.text = "Count: " + count.ToString ();
          if (count &gt;= 1)
          {
              winText.text = "You Win!";
              Application.LoadLevel(1);
          }
      }
  
  }
  </code></pre>
  
  <p>I wanna make a delay between winText.text = "You Win!"; 
  and Application.LoadLevel(1); So you can actually read the text. I hope somebody can help me out!</p>