Tags Metadata
Last updated
Last updated
A simple config system which stores metadata for tags inside collections
.
O_TagMetadataCollection
: This is the class that hosts a collection of metadata
Example:
To have the system pick up your collection, go into Project Settings
-> Plugins
-> TagMetadata Settings
and add your collection to the array.
O_TagMetadata
: The object that is added to the tags Metadata array to grant the tag whatever data you want to add.
Example:
The system comes with three functions to retrieve the metadata:
Example to retrieve the metadata:
All of the collections are hard referenced by the config, meaning they are loaded at all times. Be very mindful of what assets you are referencing and always use a soft reference.
This system is meant for fixed variables, modifying any variables on the metadata objects during runtime is not recommended.
O_TagMetadata
- The metadata object that will host your custom data.
O_TagMetadataCollection
- The collection that hosts the metadata objects and associates them with a tag.
Collections are now soft referenced. Note, the functions will instantly load a collection if it isn't loaded. So use async load first. for optimal streaming.
Collections now prevent identical tags.
Added editor utility widget.
Added EditorAssistant
support