Class WaitUntilUnit
Delays flow by waiting until a condition becomes true.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitTitle("Wait Until")]
[UnitShortTitle("Wait Until")]
[UnitOrder(2)]
public class WaitUntilUnit : WaitUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
condition
The condition to await.
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()