PurchasableItem

Purchasable Item works like a Shop but for a single Item. If you want to interact/collect this object, you´ll need to pay Coins first.


PURCHASABLE ITEM

  • itemToPurchase: Item_SO to interact with.

  • amountToPurchase: Amount of Items to add into the Inventory

  • price: Amount of Coins required to acquire this Item

  • minPlayerLevelToUnlock: Minimum required player level to unlock this item. 0 means it will be unlocked by default.

Last updated