Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

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.