Merge Dictionaries
Last updated
Last updated
The Merge Dictionaries Node merges two or more Dictionaries. It receives the Dictionaries to merge (Dictionary 1
, Dictionary 2
, etc) and outputs the merged Dictionary (New Dictionary
).
In the case that two or more of the Dictionaries to be merged have the same key, it takes the value from the first Dictionary (for instance, if Dictionary 2
and Dictionary 3
have the same key with different values, the New Dictionary
will take the value from Dictionary 2
).
Scope: Project, Scene, Function, Prefab.
Attribute | Type | Description |
---|---|---|
| Int | The number of Dictionaries you wish to merge. The default number is 2 Dictionaries. |
Input | Type | Description |
---|---|---|
Pulse Input (►) | Pulse | A standard Input Pulse, to trigger the execution of the Node. |
| Dictionary | Two or more Dictionaries you wish to merge. |
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. |
| Dictionary | The merged Dictionary. |