- Home /
This question was
closed May 03, 2014 at 06:07 AM by
Fattie for the following reason:
Duplicate Question
Java to C#
Can some one put this in c#?
yield WaitForSeconds (5);
Comment
Dark, just use "Invoke" for timers in Unity if you're a beginner. Read up on it here, search
Best Answer
Answer by robertbu · May 03, 2014 at 01:33 AM
yield return new WaitForSeconds(5);
Note that if you go to the script reference for 'WaitForSeconds()', you can change the script output from Javascript to C# and see the differences.