Class FlowNode_MultiGate
[CeresGroup("Utilities/Flow Control")]
[CeresLabel("MultiGate")]
[NodeInfo("Routes each trigger to one output in sequence or random order, with optional looping and reset support.")]
[CeresMetadata(new string[] { "style = ForwardNode", "ResolverOnly" })]
public class FlowNode_MultiGate : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable, IPortArrayNode, IReadOnlyPortArrayNode
- Inheritance
-
FlowNode_MultiGate
- Implements
- Inherited Members
Constructors
FlowNode_MultiGate()
public FlowNode_MultiGate()
Fields
loop
[InputPort(false)]
[CeresLabel("Loop")]
public CeresPort<bool> loop
Field Value
outputCount
[HideInGraphEditor]
public int outputCount
Field Value
outputs
[OutputPort(false)]
[CeresLabel("Out")]
[CeresMetadata(new string[] { "DefaultLength = 2" })]
public NodePort[] outputs
Field Value
- NodePort[]
random
[InputPort(false)]
[CeresLabel("Random")]
public CeresPort<bool> random
Field Value
reset
[InputPort(false)]
[CeresLabel("Reset")]
public NodePort reset
Field Value
startIndex
[InputPort(false)]
[CeresLabel("Start Index")]
public CeresPort<int> startIndex
Field Value
Methods
Execute(ExecutionContext)
protected override UniTask Execute(ExecutionContext executionContext)
Parameters
executionContextExecutionContext
Returns
- UniTask
GetPortArrayFieldName()
public string GetPortArrayFieldName()
Returns
GetPortArrayLength()
public int GetPortArrayLength()
Returns
OnAfterDeserialize()
public void OnAfterDeserialize()
OnBeforeSerialize()
public void OnBeforeSerialize()
SetPortArrayLength(int)
public void SetPortArrayLength(int newLength)
Parameters
newLengthint
__getTypeName()
protected override string __getTypeName()
Returns
__initializePorts()
protected override void __initializePorts()
__initializeVariables()
protected override void __initializeVariables()