This version of Unity is unsupported.

Awaitable.WaitForSecondsAsync

Declaration

public static Awaitable WaitForSecondsAsync(float seconds, CancellationToken cancellationToken);

Parameters

seconds Seconds to wait for.
cancellationToken Optional cancellation token.

Description

Awaitable resuming after the specified number of seconds.