Dictionaries Methods
v4.0
Getting and setting values in a Dictionaries object is simple and straightforward. There are also additional helper methods, such as getting a random value from a list of items.
Getting Values
Getting values generally will utilize the Value<T>()
method shown below. By default, the method returns the first item in the list -- often it may be the only item. However, you can provide a specific index, or even grab a random value from the list.
In most use cases, the Value<T>()
method will be the only method needed at runtime, unless you are actively storing data in the Dictionaries structure.
Additional "Get" Methods
Get All Values
Get an Array of all values with Values<T>()
Adding Values
You can add new information at runtime.
Last updated