Adding Advanced Functionality
A few days later, I had a fully functioning tower defense prototype with enemy cubes, two kinds of towers and the ability to sell and purchase new towers using the UI function built into Unity. After that, I wanted to take my project to the next level by adding more functionality to it.
I started out by creating a grid of quads near the ground that would serve as turret bases. When the player hovers his or her mouse over the quads, after having clicked a turret button, the texture changes to indicate that the player can place a turret on that quad if he or she wants to.