Class WaitForSecondsUnit
Delays flow by waiting a specified number of seconds.
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitTitleAttribute]
[UnitOrderAttribute]
public class WaitForSecondsUnit : WaitUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Properties
seconds
The number of seconds to await.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput seconds { get; }
Property Value
| Type | Description |
|---|---|
| ValueInput |
unscaledTime
Whether to ignore the time scale.
Declaration
[DoNotSerializeAttribute]
[PortLabelAttribute]
public ValueInput unscaledTime { 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()
Overrides
Implements
IDisposable