Class GetDictionaryItem
Gets a dictionary item with the specified key.
Inherited Members
Namespace: Unity.VisualScripting
Syntax
[UnitCategory("Collections/Dictionaries")]
[UnitSurtitle("Dictionary")]
[UnitShortTitle("Get Item")]
[UnitOrder(0)]
[TypeIcon(typeof(IDictionary))]
public sealed class GetDictionaryItem : Unit, IUnit, IGraphElementWithDebugData, IGraphElement, IGraphItem, INotifiedCollectionItem, IDisposable, IPrewarmable, IAotStubbable, IIdentifiable
Properties
dictionary
The dictionary.
Declaration
[DoNotSerialize]
public ValueInput dictionary { get; }
Property Value
Type | Description |
---|---|
ValueInput |
key
The key of the item.
Declaration
[DoNotSerialize]
public ValueInput key { get; }
Property Value
Type | Description |
---|---|
ValueInput |
value
The value of the item.
Declaration
[DoNotSerialize]
public ValueOutput value { get; }
Property Value
Type | Description |
---|---|
ValueOutput |
Methods
Definition()
Declaration
protected override void Definition()