Lootbox

"Lootbox" is based on randomly dropping objects. Therefore, first you need to create a couple of such objects. Go to the tab "Randomize Items" and click "Add new random item"

Item ID - Unique ID for the item. Don't use special characters or spaces. ID must be in lower case.

Sprite - Sprite for random item. ATTENTION! The sprite is not saved on the server, it will be included in the build

Select the item you want to add from the list, click "Add"

Configure drop chance and click "Save".

asd

As a result, you will see a new "random item" in the editor

Navigate to "Loot Boxes" tab and click "Add new Lootbox"

Content tab

Select from the list the random item you created earlier and click "Add"

You can also add currency for the loot box. Select a currency from the list, specify a value and click "Add currency".

Prices tab

To set a price for an item - select the currency code from the list and click "Add currency"

Set a price. Also you can set the price for "Real Money price" to make in-app purchases

Linked Data tab

Sprite - Sprite for game item. ATTENTION! The sprite is not saved on the server, it will be included in the build.

Prefab - Prefab for game item. ATTENTION! The prefab is not saved on the server, it will be included in the build

Scriptable - Scriptable data for game item. ATTENTION! The data is not saved on the server, it will be included in the build

External Icon URL - You can use it for example for remote texture url

As a result, you will see the created loot box in the editor

Last updated