This chapter is hands-on, so you will need to have a basic understanding of Unity and C#.
The code files of this chapter can be found on GitHub, at https://github.com/PacktPublishing/Game-Development-Patterns-with-Unity-2021-Second-Edition/tree/main/Assets/Chapters/Chapter08.
Check out the following video to see the code in action:Â
It's important to note that the code example in the next section will not work in a version of Unity that's below 2021.1, as we are using recently added API features.