Dictionary

Description

 

A Dictionary is a collection of Keys and Values, where key is like a word and value is like a definition. Use this behaviour when you need a convenient and efficient way to retrieve data associated with a specified key. When outputting a dictionary, it is formatted as JSON so you can use it with the various Networking behaviours. Press the plus button to create a new key value, and press the pencil icon to bring up the edit mode for deletion.

 

Outputs

Key Values

Outputs the key values stored in the dictionary.

 

 

 

Examples 

Use a dictionary to create an inventory system, where the key is the type of item, and the value is the item stored in the slot. Then you can output the dictionary into a Save to File behaviour and save the entire inventory with a single save.

 

Related

Array

Box Container

Get Array Value

Get Dictionary Value

Modify Array

Modify Dictionary

Value

 

DictionaryReference.gif

Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.