Class FlowNode_Gate
[CeresGroup("Utilities/Flow Control")]
[CeresLabel("Gate")]
[NodeInfo("Lets execution pass only while the gate is open; Open, Close, and Toggle inputs control the state.")]
public class FlowNode_Gate : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
- Inheritance
-
FlowNode_Gate
- Implements
- Inherited Members
Constructors
FlowNode_Gate()
public FlowNode_Gate()
Fields
close
[InputPort(false)]
[CeresLabel("Close")]
public NodePort close
Field Value
exit
[OutputPort(false)]
[CeresLabel("Exit")]
public NodePort exit
Field Value
open
[InputPort(false)]
[CeresLabel("Open")]
public NodePort open
Field Value
startClosed
[InputPort(false)]
[CeresLabel("Start Closed")]
public CeresPort<bool> startClosed
Field Value
toggle
[InputPort(false)]
[CeresLabel("Toggle")]
public NodePort toggle
Field Value
Methods
Execute(ExecutionContext)
protected override UniTask Execute(ExecutionContext executionContext)
Parameters
executionContextExecutionContext
Returns
- UniTask
__getTypeName()
protected override string __getTypeName()
Returns
__initializePorts()
protected override void __initializePorts()
__initializeVariables()
protected override void __initializeVariables()