Table of Contents

Class FlowNode_ArrayLastT<T>

Namespace
Ceres.Flow.Utilities
Assembly
Ceres.Flow.dll
[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

CeresPort<IReadOnlyList<T>>

item

[OutputPort(true)]
[CeresLabel("Item")]
public CeresPort<T> item

Field Value

CeresPort<T>

Methods

Execute(ExecutionContext)

protected override UniTask Execute(ExecutionContext executionContext)

Parameters

executionContext ExecutionContext

Returns

UniTask

__getTypeName()

protected override string __getTypeName()

Returns

string

__initializePorts()

protected override void __initializePorts()

__initializeVariables()

protected override void __initializeVariables()