WaitForSeconds

csharp
public sealed class WaitForSeconds

Namespace Flux.

Resumes a coroutine after a number of seconds of script time.

Constructors

WaitForSeconds

csharp
public WaitForSeconds(float seconds)

Waits that many seconds of the scripts' clock (yield return new WaitForSeconds(2f)); zero or less: the next frame.

Properties

Seconds

csharp
public float Seconds { get; }

The seconds to wait.