Set up Asset Storage Template
Last updated
Last updated
In this How-to we will be creating an Asset Storage Template and apply it to an Asset. Before you start, make sure you already know how to create an Asset.
Asset Storage Templates can be used to easily add pre-defined Key/Value storage pairs to any Asset. You can use multiple Asset Storage Templates on Assets, and even override individual keys on the Asset level. More information about Asset Storage Templates can be found in the Game Settings documentation.
To create a new Asset Storage Template, navigate to the Asset Storage Template menu in the Game Settings menu by clicking the Settings
icon on the left bar of the Management Interface.
Click the Create Asset Storage Template
button in the top right hand corner to create a new template. Enter the name of your template in the pop-up modal and click Create
.
In the newly created template, click the Add Key/Value Pair
button to create a new key/value pair and enter text in the key and value fields. For this guide we will create two key/value pairs with the following information:
Key | Value |
---|---|
Country | Sweden |
City | Stockholm |
Once completed, click Save
to save these key/value pairs. Your template should look something like this:
Now lets add this template to an Asset that already exists!
To add our newly created Asset Storage Template to an Asset, lets first navigate to the Asset Manager by clicking the Content
button on the left bar of the Management Interface.
Select the Asset you wish to add a template too and navigate to the Filters & Storage
tab in the Asset's menu. Click Add Storage Template
in the Key/Value Storage section of the menu and the template you wish to apply from the drop down list in the pop-up menu.
Click + Add Asset Storage Template
to apply this template to the current Asset. You should now see the two key/value pairs appear in the Key/Value Storage section.
In case you want to overwrite the values in the key/value pairs, simply enter alternative values in the Effective Asset Value
field. You will immediately see that the Template Value has been crossed out.
That's it - you've now created an Asset Storage Template and applied it to an Asset!