Inheritance and Interfaces for Beginners | Unity C# Basics 6 | Unity Tutorial #shorts @LlamAcademy
Inheritance and Interfaces for Beginners | Unity C# Basics 6 | Unity Tutorial #shorts  @LlamAcademy
Uploaded July 2022 | Updated September 2026, 1 hour ago
Full Tutorial: youtu.be/siRvSZzrhRU
Series Playlist: youtube.com/watch?v=SXaa61JWLDw&list=PLllNmP7eq6TTjwoyfRYAAFOH1sMHVgI1r

With this tutorial, aimed at absolute beginners who have very little to no coding experience whatsoever, you'll learn what Inheritance is (it's not passing on hereditary traits or getting money!), how to use it (you already are using it!), what an Interface is, how to use it, and what the difference between the two are!

If you've been using Unity for a while, or are just getting started with Unity and decided it's time for you to start learning how to write code - this is the video series you need to start your programming journey!

As always, all code from this video is available on GitHub: github.com/llamacademy/unity-csharp-basics-6

📝📝📝YOUR HOMEWORK!📝📝📝

Do some data modeling for enemies that can attack the player. Starting with 3 types:
1. Melee enemy
2. Ranged enemy
3. Boss enemy

Create inheritance relationships and interfaces to allow you to group common code and variables, define "can-do" relationships that allow you to extend what enemies and bosses can do in the future without significant rework.

📚 Here are the resources I mentioned and/or brought up during the video 📚
⚫ Unity MonoBehaviour: docs.unity3d.com/ScriptReference/MonoBehaviour.html
⚫ C# Fundamnetals - Inheritance: docs.microsoft.com/en-us/dotnet/csharp/fundamentals/tutorials/inheritance
⚫ C# Access Modifiers: docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/access-modifiers
⚫ C# Interface: docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/interface
⚫ C# Virtual: docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/virtual
⚫ C# Overriding methods: docs.microsoft.com/en-us/dotnet/csharp/programming-guide/classes-and-structs/knowing-when-to-use-override-and-new-keywords

Full Series Playlist Here: youtube.com/watch?v=SXaa61JWLDw&list=PLllNmP7eq6TTjwoyfRYAAFOH1sMHVgI1r

⚫ Part 1 - Writing your first script
⚫ Part 2 - Loops and Arrays
⚫ Part 3 - Unity Component Lifecycle
⚫ Part 4 - Static vs Instances
⚫ Part 5 - Delegates
⚫ Part 6 - Inheritance & Interfaces
⚫ Still more to cover!

📱 Let's stay connected
YouTube: youtube.com/c/LlamAcademy
Patreon: patreon.com/llamacademy
Facebook: facebook.com/LlamAcademyOfficial
Twitter: twitter.com/TheLlamAcademy
TikTok: tiktok.com/@LlamAcademy
Instagram: instagram.com/LlamAcademy

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter: patreon.com/llamacademy

----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets (affiliate link): assetstore.unity.com/publishers/22409?_aid=1101l9QvC

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment #beginners #learntocode
Inheritance and Interfaces for Beginners | Unity C# Basics 6 | Unity Tutorial #shortsWhen (and how) to use Templates and Custom Controls in UI Toolkit | Unity TutorialRagdoll on Death NavMeshAgents | AI Series Part 39 | Unity TutorialUsing the NEW Unity Content Directory | Unity TutorialMy 5 Tips for Staying Motivated While Working on Your Game #shortsWhen to use Templates vs Custom Controls in UI ToolkitImprove Your Workflow with Custom Property Drawers & UI Toolkit | Unity Tutorial #shortsFire Cape in Unity #shortsRTS Keyboard Camera Movement with Cinemachine 3 | Unity TutorialWhy New GameDevs Should Start SMALLAiming with Inverse Kinematics (IK) and Animation Rigging | Gun Series 12 | Unity TutorialHow the Tilemap Tools Helped Me Expedite the Level Creation Process for My Minigolf Microgame
LlamAcademy |

Inheritance and Interfaces for Beginners | Unity C# Basics 6 | Unity Tutorial #shorts

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER