Yield.Wait
Static Method in Yield
Declaration
public static WaitForSeconds Wait(float seconds)
Description
Suspends the coroutine execution for the given amount of seconds using scaled time.
Parameters
seconds | The number of seconds to wait. |
Returns
WaitForSeconds | The yield statement. |