ShopButton
Last updated
Last updated
ShopButton
inherits sends Player Inputs like Pointer Enter, Pointer Exit, or Click Events to the Shop UI & Shop. It allows the interaction between the Shop and the Player, enabling the user to purchase Items by exchanging coins.
callToAction: Text to display on the Purchase Button
ShopItemData
Returns the associated to the Button.
AddAmount(int amount)
Increases Current Amount to be purchased.
ReduceAmount(int amount)
Decreases Current Amount to be purchased.