Back to Browse

Unity C# Tutorial: Advanced classes (creating extensions, interfaces & generics)

846 views
Sep 30, 2021
36:51

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

Download

1 formats

Video Formats

360pmp453.4 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Unity C# Tutorial: Advanced classes (creating extensions, interfaces & generics) | NatokHD