I know function update called every frame. Then every frame means 60 frames per 1 second?
-
Then, function update performed 60 times per 1 second?
-
How can I make some function performed for seconds outside of function update?
I know function update called every frame. Then every frame means 60 frames per 1 second?
Then, function update performed 60 times per 1 second?
How can I make some function performed for seconds outside of function update?
It means every frame. This could be thousands of times per second or less than once per second, depending on what you’re doing and how fast your computer/graphics card are. Use coroutines and the yield statement to make functions that do things for specific periods of time.
–Eric
If you have 60 frames, yes. (you can ensure it does not get higher through the targetFramerate on the application class)
StartCoroutine and coroutines in general are used to perform independent of the recurring update calls etc