Upgrade system

Navigate to items configurator and select the item you want to make upgradable and click "Edit"

Navigate to "Upgrades" tab and click "Add new upgrade".

Add multiple levels of upgrades

Click on the upgrade level icon to open the configuration

Custom Data - Allows you to create a set of your own access data for each upgrade from code.

To create your own custom data set - create a new class and inherit from "CBSUpgradeItemCustomData". Only fields and the following data types are supported - 'int', 'float', 'string', 'enum', 'List<string>', 'List<float>', 'List<int>'

After that you will see your class in the selection list of "Custom Data". Fill in your details

Select the ingredients you need to upgrade and click "Add". Also indicate the number of ingredients

Also, game currency can be specified as ingredients or prices for upgrade.

Fill in the information for each upgrade level

Finally click "Save item"

Now the item is available for improvement from the inventory

Last updated