Struct CooldownNode
Syntax
[NodeDescription(typeof(Cooldown))]
public struct CooldownNode : IStatefulNode<CooldownNode.State>, IStatefulNode, IUpdatableNode, IFlowNode, INode
Fields
BecameReady
Declaration
public OutputTriggerPort BecameReady
Field Value
Duration
Declaration
public InputDataPort Duration
Field Value
Enter
Declaration
public InputTriggerPort Enter
Field Value
ExitNotReady
Declaration
public OutputTriggerPort ExitNotReady
Field Value
ExitReady
Declaration
public OutputTriggerPort ExitReady
Field Value
RemainingRatio
Declaration
public OutputDataPort RemainingRatio
Field Value
RemainingSeconds
Declaration
public OutputDataPort RemainingSeconds
Field Value
Reset
Declaration
public InputTriggerPort Reset
Field Value
Tick
Declaration
public OutputTriggerPort Tick
Field Value
UnscaledTime
Declaration
public InputDataPort UnscaledTime
Field Value
Methods
Declaration
public Execution Execute<TCtx>(TCtx ctx, InputTriggerPort port)
where TCtx : IGraphInstance
Parameters
Returns
Type Parameters
Implements
Init<TCtx>(TCtx)
Declaration
public void Init<TCtx>(TCtx ctx)
where TCtx : IGraphInstance
Parameters
Type |
Name |
Description |
TCtx |
ctx |
|
Type Parameters
Implements
Update<TCtx>(TCtx)
Declaration
public Execution Update<TCtx>(TCtx ctx)
where TCtx : IGraphInstance
Parameters
Type |
Name |
Description |
TCtx |
ctx |
|
Returns
Type Parameters
Implements
Extension Methods