Viewer: Dictionaries
v4.1
Last updated
v4.1
Last updated
Most Game Module types will allow you to edit their Dictionaries
values using the Viewer. You can also view and edit a standalone Dictionaries field on a class, allowing you to more easily use the Dictionaries system outside of Game Module Objects.
Editing values will only affect the "Game" version of the Dictionaries, though Game versions of each Game Module Object will start with a copy of the Dictionaries set on the object itself.
In the examples below from the RPG Game Demo,, the default names and portraits are set on the "Item Attribute" Dictionaries for the Character Race objects. Any changes in this view will not change the Scriptable Objects, and will only affect the Dictionaries on these specific GameItemAttribute
objects, attached to the "Imp" prefab.
You can add new Keys in this view.
Remember that this will only affect this GameModulesObject
, not others of the same type. Once added, you can add Value types and data. If you want to add the same Key
/Values
to all objects of the same ObjectType
, do so using the normal Game Module Inspector window.