Question by
koolaidman0423 · Jun 21, 2020 at 09:47 AM ·
simulationasyncwait
Gameobject Wait in Update
Hey guys I'm trying to create a simulation that can run as quickly as possible (so the graphics/display are not as important to me), and I am trying to get a game object to (cleanly) wait for x "seconds" in the update function similar to:
private void FixedUpdate() {
...
wait(5)
....
}
Where the wait would block for this object alone until the 2 "seconds" are up. I've looked into coroutines and they are not awfully clean.
Note seconds would not be realtime seconds but loops through fixed update
Thanks!
Comment
Your answer
