Game Development Reference
In-Depth Information
IEnumerator DoSomething (float someParameter) {
while (true) {
// DoSomething Loop
Debug.Log ("DoSomething Loop = " + Time.time);
// Yield execution of this coroutine and return to the
main loop until next frame
yield return null;
}
}
Search WWH ::




Custom Search