Game Development Reference
In-Depth Information
}
IEnumerator WaitAndPrint() {
//Suspend execution for 5 seconds
yield return new WaitForSeconds(5f);
// WaitAndPrint = 5.0
Debug.Log ("WaitAndPrint = " + Time.time);
}
Search WWH ::




Custom Search