↧
Answer by Mike 3
you can just use this:InvokeRepeating("YourFunctionName", 3);or (js):function Start() { YourFunctionName(); } function YourFunctionName() { while(true) { DoSomething(); yield WaitForSeconds(3); } } or...
View ArticleAnswer by synapsemassage
correct Javascript syntax for InvokeRepeating would be: function InvokeRepeating (methodName : string, time : float, repeatRate : float) : voidexample: InvokeRepeating("YourFunctionName", 0, 3);"0" is...
View Article