Hi!
I have been reading and trying a lot of coin shop scripts and tutorials online and cannot figure out a way to implement it into my game I’m making. I basically have a button that gets clicked and opens a new panel with all of my items. I want an image button to be clicked and purchased and then opens a panel with the item and all the Color Options.
I am trying to figure out a simple coin system that allows me to buy and unlock the panel from another button.
After trying A LOT of coin system tutorials they all end up opening my panel even if the player doesn’t have enough coins. I need to be able to give player coins on button press and take player coins away on button press, Also checking if the player has enough coins before allowing the button to pop up the new panel.
very hard to explain, Sorry.
Are there any tutorials that might help me achieve this?
Is anyone willing to Walk Me Through This?
I appreciate any and all help 
You need add simple if statement to your script.
If required coins are less or equal players coins, open panel.
Ok, Do I add this to the button that gets bought? Also, do you know how to write the If statement for the open panel?
Sorry, I’m a little lost on that part.
You are better go through tutorials. Each tutorial is made differently. There are tones of such on the web.
You may also need at least basics programming skills, or learn basics, if you struggle with if statement.
Typically there is some Boolean, which open / closes, shows / hide, activate / disable, or similar. You need set it accordingly.
If you can open, then you will be close as well, by toggling such bool.
You may also want to post script and explain, which part you struggle with.
I switched to Game framework since I’m just learning Unity: https://assetstore.unity.com/packages/templates/systems/game-framework-free-55334
But I’m still having a hard time figuring out how to make a button unlock a child component (Hat) and enable it.
Unity is definitely a lot to learn at first, Thanks for answering. If anyone knows The game framework and knows how to set an unlock for coins button that can enable a child component on a player, please let me know.