NodeWorld

CustomYieldInstruction

La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.

csharp
public abstract class CustomYieldInstruction : IEnumerator

Namespace Flux.

A yield instruction written as a property: the coroutine waits while keepWaiting is true.

Properties

keepWaiting

csharp
public abstract bool keepWaiting { get; }

True while the coroutine must wait: asked at once, then at each frame.

Current

csharp
public object? Current { get; }

Always null.

Methods

MoveNext

csharp
public bool MoveNext()

Returns keepWaiting: the coroutine goes on waiting while it is true.

Reset

csharp
public virtual void Reset()

Does nothing.