Shorter Cleaner Code with Extension Methods - C# and Unity
One Wheel Studio
C# extension methods help you write less code and cleaner code with fewer bugs. You can extend any class or struct even built-in types in Unity or assets from the Asset Store.
Want to support the Channel?
Shop the Unity Asset Store (affiliate): https://assetstore.unity.com/top-assets/top-paid?aid=1100lHSw Become A Channel Member: https://www.youtube.com/channel/UCkr9CPPqT9VWUjkpo3HcACg/join Or a Patron: https://www.patreon.com/onewheelstudio Grab a T-Shirt: https://onewheelstudio.com/merch/ My video and streaming kit: https://kit.co/onewheelstudio/tutorial-video-production Buy a Game Design Books: https://kit.co/onewheelstudio/game-design-reading-list-unity-c-blender-and-more
Other Links
Discord: http://discord.onewheelstudio.com
Twitter: https://twitter.com/OneWheelStudio
Devlog: https://onewheelstudio.com/
Twitch: https://go.twitch.tv/onewheelstudio
Timestamps
0:00 The Problem 0:20 How do Extension Methods help? 0:45 Side Note 0:56 How do they work? Why are they better? 2:40 Important Details 3:00 Basic Examples 3:25 Inheritance 3:45 Generics 4:10 THE END
#cleancode #GameDevelopment #Unity3D #indiedeveloper ... https://www.youtube.com/watch?v=uX4VLxeDBmU
44271021 Bytes