Get Dictionary Element
Last updated
Last updated
Get Dictionary Element is used for retrieving elements from a Dictionary. It receives as input the Dictionary from which the elements will be retrieved and the Keys
of the desired elements. The outputs are the received Dictionary and the Values
associated with the given Keys
.
Scope: Project, Scene, Function, Prefab.
Inputs/Outputs
- The number of elements you want to get from the Dictionary. Each element has the following Attributes:
Attribute | Type | Description |
---|---|---|
Input | Type | Description |
---|---|---|
Output | Type | Description |
---|---|---|
Key
String
The Key
of the element you wish to return if none is provided to the Index
Input Socket.
Data Type
Drop-down
The Data Type
of the Value
that will be returned.
Pulse Input (►)
Pulse
A standard Input Pulse, to trigger the execution of the Node.
Dictionary
Dictionary
The Dictionary from which the desired element/s will be retrieved.
Index (*Key name*)
String
The Key
of the element you wish to return.
Pulse Output (►)
Pulse
A standard Output Pulse, to move onto the next Node along the Logic Branch, once this Node has finished its execution.
Dictionary
Dictionary
The Dictionary provided to the Input Socket.
Value
Defined in the Data Type
Attribute.
The Output value retrieved from the Dictionary.