Class WaitForDone
A custom Yield instruction with a built in timeout if predicate never evaluates to true
Implements
Inherited Members
CustomYieldInstruction.MoveNext()
CustomYieldInstruction.Reset()
CustomYieldInstruction.Current
Namespace: Tests.Runtime.PolySpatialTest.Utils
Assembly: solution.dll
Syntax
public class WaitForDone : CustomYieldInstruction, IEnumerator
Constructors
Name | Description |
---|---|
WaitForDone(float, Func<bool>) |
Properties
Name | Description |
---|---|
keepWaiting | Indicates if coroutine should be kept suspended. |