Class OnTimerElapsed
Called when a specified number of seconds has elapsed.
Inheritance
object
OnTimerElapsed
Implements
IDisposable
Inherited Members
Namespace: Unity.VisualScripting
Assembly: solution.dll
Syntax
[UnitCategory]
public sealed class OnTimerElapsed : MachineEventUnit<EmptyEventArgs>, IEventUnit, IUnit, IGraphElementWithDebugData, IGraphEventListener, IGraphElementWithData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable, IGraphEventHandler<EmptyEventArgs>
Properties
hookName
Declaration
protected override string hookName { get; }
Property Value
| Type | Description |
|---|---|
| string |
Overrides
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
CreateData()
Declaration
public override IGraphElementData CreateData()
Returns
| Type | Description |
|---|---|
| IGraphElementData |
Overrides
Definition()
Declaration
protected override void Definition()
Overrides
ShouldTrigger(Flow, EmptyEventArgs)
Declaration
protected override bool ShouldTrigger(Flow flow, EmptyEventArgs args)
Parameters
| Type | Name | Description |
|---|---|---|
| Flow | flow | |
| EmptyEventArgs | args |
Returns
| Type | Description |
|---|---|
| bool |
Overrides
StartListening(GraphStack)
Declaration
public override void StartListening(GraphStack stack)
Parameters
| Type | Name | Description |
|---|---|---|
| GraphStack | stack |
Overrides
Implements
IDisposable