Class WaitWhileUnit
Delays flow by waiting while a condition is true.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitTitle("Wait While")]
[UnitShortTitle("Wait While")]
[UnitOrder(3)]
public class WaitWhileUnit : WaitUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
condition
The condition to check.
Declaration
[DoNotSerialize]
public ValueInput condition { get; }
Property Value
Type | Description |
---|---|
ValueInput |
Methods
Await(Flow)
Declaration
protected override IEnumerator Await(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
IEnumerator |
Overrides
Definition()
Declaration
protected override void Definition()