C# provides a lot of ways that we can work with classes to make our code easier to write and to maintain. In this tutorial I'll be looking at a few key areas. Extensions allow us to add custom methods to existing classes; Interfaces allow us to set rules that a class needs to follow in terms of what functions it provides; and, generics allow us to operate on a wide range of data with the same code.
Find the code here: https://github.com/GameDevEducation/DeepDive_AdvancedClasses
📁 The searchable video archive is at ➠ https://www.iainmcmanus.dev/gamedev-education/
If you've got questions add a comment below or send them in for the next Q&A video
🤔 Send in your questions ➠ https://forms.gle/ToyvqPaBFvpFLtNbA
Looking for other ways to get involved?
🟠 Support the channel on Patreon ➠ https://www.patreon.com/IainTheIndie
🟡 Get the code for all the projects on GitHub ➠ https://github.com/orgs/GameDevEducation
🟢 Check out my games on itch.io ➠ http://iaintheindie.itch.io/
🟣 Follow me on Twitter ➠ https://twitter.com/IainTheIndie
#Unity #Tutorial #GameDev