How would i start a upgrade unlock system (newbie here)
me and a mate are making a tower defense game and have had an idea to only allow the upgrades in game once they have been purchased. so it adds a bit more depth and a system to make the user wanting to keep playing to unlock all the upgrades.
any suggestions would be useful
Answer by ahungrybear · Jan 26, 2017 at 02:47 PM
Keep a global list of booleans for each upgrade. When you buy an upgrade, make the bool true, when you go to build something, it checks the list to see if the upgrade has been bought
Your answer
Follow this Question
Related Questions
Looking to activate animation when clicking a button 0 Answers
UI problems 0 Answers
Online Menu that I can change things without updating the game 0 Answers
How to disable the mouse for gameplay but not the menu? 0 Answers
Getting a tricky crash on iOS since upgrading to Unity 5.6.0p3 from 5.4 1 Answer