0
Answered

quantity of items

Stanislav 6 months ago in Inventory updated by Marti (Lead Developer) 6 months ago 1

How can I write the quantity of items in my inventory into a numerical variable?

Unity version:
Unity 2018.4.18f1 (64-bit)
Game Creator version:
1.1.6

Answer

Answer
Answered

Currently there's no no-coding solution for this. However, if you have a little of coding experience, you can access the amount of items in your inventory by accessing the following value:

InventoryManager.Instance.playerInventory.items.Count

Cheers!

Answer
Answered

Currently there's no no-coding solution for this. However, if you have a little of coding experience, you can access the amount of items in your inventory by accessing the following value:

InventoryManager.Instance.playerInventory.items.Count

Cheers!