Last updated
Last updated
Creating a new consumable is easy and requires no coding.
First, you'll want to .
Under the Consumables header of the item you just created you'll need to press the + button. This will allow you to designate the player's vitals to affect and how much to affect them.
Drop your prefab item into the world, pick it up, and use it in the inventory. You should see the player's vitals change according to the variables you set up.
This page will show you how to create a consumable resource. The resource you create can either heal or hurt the player based on the properties you provide the system.