Video Content:
----------------------------------
0:00 - Intro
1:12 - Pseudocode Problem
2:39 - Inheritance Solution
4:21 - Interface Solution
5:36 - Differences
6:08 - Polymorphism
6:50 - Unity Example
10:51 - Abstract Functions
11:59 - Outro
------
While still learning and working in Godot, I decided to scratch this topic of my bucket list of programming topics.
In this video I discuss the differences between interfaces and inheritance, and when I would use one over the other. The first part of the video explains those concepts with pseudocode-examples
The second part of the video focuses on a real unity3d game project and why certain classes use inheritance and why others use interfaces.
In talking about these differences I didn't mention the specifics of that project enough I feel, the link for the GitHub link so you can download and look through it yourself is down below. I might make another video just to go through it in more detail
I hope you learned something or gained some insight, thank you for watching!
Link to the unity-project:
github.com/For...
You can buy me a coffee to make me code faster at:
www.buymeacoff...
#csharp #unity #coding #learning #net #interfaces #abstract #inheritance #gamedev #gamedevelopment
14 авг 2024