In this chapter, we started creating a shop scene that holds various buttons and panels created from three-dimensional polygons. We then created our own script to fill the scene with images, values, names, and descriptions of assets that could potentiallybe purchased with virtual credits.
We also made use of scriptable objects to create a template for our code so that it can be topped up with various in-game powerups without inflating our game's framework. We also made it interchangeable, so if a weapon needs changing, replacing, or removing, we can simply remove the template without affecting the rest of the code in our game framework.
The other lesson we learned in this chapter is being aware that we can create games that are free to download, but also knowing how to create a form of income with a monetization game design to create revenue.
In the next chapter, we will continue with our shop scene and focus more on the content of each button...