Part: Shop System
Question:
After the item is purchased by the store, the button displayed is still use, and the purchase can be repeated
Solution:
Needs to be detected. If the item has been unlocked, return directly in the registration event of the button, and do not execute the subsequent deduction code. For a better understanding, the button needs to be hidden to indicate that it is unlocked.
评论
发表评论