Class WaitUnit
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Time")]
public abstract class WaitUnit : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
enter
The moment at which to start the delay.
Declaration
[DoNotSerialize]
public ControlInput enter { get; }
Property Value
Type | Description |
---|---|
ControlInput |
exit
The action to execute after the delay has elapsed.
Declaration
[DoNotSerialize]
public ControlOutput exit { get; }
Property Value
Type | Description |
---|---|
ControlOutput |
Methods
Await(Flow)
Declaration
protected abstract IEnumerator Await(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
IEnumerator |
Definition()
Declaration
protected override void Definition()