Class FlowNode_SwitchString
[CeresGroup("Utilities")]
[CeresLabel("Switch on String")]
[NodeInfo("Routes execution to the output matching the selected string case, or Default when enabled.")]
public class FlowNode_SwitchString : ForwardNode, IEnumerable<CeresNode>, IEnumerable, IDisposable, IReadOnlyPortArrayNode
- Inheritance
-
FlowNode_SwitchString
- Implements
- Inherited Members
Constructors
FlowNode_SwitchString()
public FlowNode_SwitchString()
Fields
defaultOutput
[OutputPort(false)]
[CeresLabel("Default")]
public NodePort defaultOutput
Field Value
outputs
[OutputPort(false)]
public NodePort[] outputs
Field Value
- NodePort[]
settings
[HideInGraphEditor]
public FlowNode_SwitchString.Settings settings
Field Value
sourceValue
[InputPort(false)]
[CeresLabel("Selection")]
public CeresPort<string> sourceValue
Field Value
Methods
Execute(ExecutionContext)
protected override sealed 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()
__getTypeName()
protected override string __getTypeName()
Returns
__initializePorts()
protected override void __initializePorts()
__initializeVariables()
protected override void __initializeVariables()