Class FlowNode_ArrayLastT<T>
[CeresGroup("Utilities/Array")]
[CeresLabel("Last")]
[NodeInfo("Outputs the last item in the array, or the default value when the array is empty.")]
[CeresMetadata(new string[] { "style = ConstNode", "path = Dependency" })]
public sealed class FlowNode_ArrayLastT<T> : ExecutableNode, IEnumerable<CeresNode>, IEnumerable, IDisposable
Type Parameters
T
- Inheritance
-
FlowNode_ArrayLastT<T>
- Implements
- Inherited Members
Constructors
FlowNode_ArrayLastT()
public FlowNode_ArrayLastT()
Fields
array
[InputPort(true)]
[CeresLabel("")]
[HideInGraphEditor]
public CeresPort<IReadOnlyList<T>> array
Field Value
item
[OutputPort(true)]
[CeresLabel("Item")]
public CeresPort<T> item
Field Value
- CeresPort<T>
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()