Merge Dictionaries

Overview

The Merge Dictionaries Node.

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.

Attributes

The Merge Dictionaries Node Attributes.
Attribute
Type
Description

Count

Int

The number of Dictionaries you wish to merge. The default number is 2 Dictionaries.

Inputs

Input
Type
Description

Pulse Input (►)

Pulse

A standard Input Pulse, to trigger the execution of the Node.

Dictionary (Count Attribute)

Dictionary

Two or more Dictionaries you wish to merge.

Outputs

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.

New Dictionary

Dictionary

The merged Dictionary.

See Also

Last updated

Was this helpful?