Yields the current thread until the next frame. Returns the delta time waited.
This uses unscaled time (Time.unscaledTime), so Time.timeScale will not effect duration.
Returns number
unscaledWait(delayTime): number
Yields the current thread for delayTime seconds. Returns the delta time waited.
This uses unscaled time (Time.unscaledTime), so Time.timeScale will not effect duration.
Yields the current thread until the next frame. Returns the delta time waited. This uses unscaled time (
Time.unscaledTime
), soTime.timeScale
will not effect duration.