Push Array Element
Last updated
Last updated
Push Array Element adds element/s to an Array. The Array is given as input to the Node.
If no Array is given as input, the elements are added to a new, empty Array.
Scope: Project, Scene, Function, Prefab.
Inputs
- The number of Input elements you wish to add to the Input Array. Each element has the following Attributes:
Attribute | Type | Description |
---|---|---|
| Drop-down | The |
| Defined in the | A |
The Mode
is a toggle that determines whether element/s will be added to the front or back of the Array.
Attribute | Type | Description |
---|---|---|
| Bool | If the toggle is switched on, the desired element is added to the back of the Array otherwise it will be added to the front of the Array. |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Array | An Array to which you wish to add element/s. |
| Defined in the | The value you wish to add to a desired Array. |
Output | Type | Description |
---|---|---|
Pulse Output (►) | Pulse | A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution. |
| Array | The resulting Array after the desired values are successfully added. |