Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

How can I make an action repeat every x seconds with Timer in C#?

IEnumerator MyCoroutine()
{
    yield return new WaitForSeconds(5f);
    //code here will execute after 5 seconds
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #How #I #action #repeat #seconds #Timer
ADD COMMENT
Topic
Name
1+5 =