Class MergeDictionaries
Merges two or more dictionaries together.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Collections/Dictionaries")]
[UnitOrder(5)]
public sealed class MergeDictionaries : MultiInputUnit<IDictionary>, IMultiInputUnit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable, IAnalyticsIdentifiable
Remarks
If the same key is found more than once, only the value of the first dictionary with this key will be used.
Properties
dictionary
The merged dictionary.
Declaration
[DoNotSerialize]
public ValueOutput dictionary { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()
Overrides
Unity.VisualScripting.MultiInputUnit<System.Collections.IDictionary>.Definition()
Merge(Flow)
Declaration
public IDictionary Merge(Flow flow)
Parameters
Type | Name | Description |
---|---|---|
Flow | flow |
Returns
Type | Description |
---|---|
IDictionary |