Understanding Reference and Value types- C# Basics for Unity Beginners: #6 @SunnyValleyStudio
Understanding Reference and Value types- C# Basics for Unity Beginners: #6  @SunnyValleyStudio
Uploaded March 2024 | Updated September 2026, 3 weeks ago
In part 6 we will discuss new() keyword and the difference between Value and Reference types. The most important part will be exploring WHY do we need reference types in the first place.

C# Basics for unity series:
youtube.com/playlist?list=PLcRSafycjWFeHojgzbkNUXt9S6-Q7BGQE

Welcome to this C# Fundamentals for Unity Beginners series of 10 videos. We will first explore what are the basics of C# syntax and next we will create a small Vampire Survivors like game together so that you can see Why and How different C# concepts are used to create games in Unity.

-----------------

Starter Project:
patreon.com/posts/c-essentials-for-99701780

Learn more about C# & Game Dev in Unity in my video courses at:
courses.sunnyvalleystudio.com

---------------

Join the discord:
discord.gg/RQEtYHz

You can support me through Patreon:
patreon.com/sunnyvalleystudio

Assets used:
https://kenney.nl/assets/tiny-dungeon

---------------
00:00 What are Value Types
00:53 What are Reference Types
01:20 Null keyword
03.03 'new' keyword for Reference types
05:24 WHY do I need Reference types?
10:08 Fixing diagonal movement faster bug

#unity3d #csharp #coding #gamdev
Understanding Reference and Value types- C# Basics for Unity Beginners: #6Unity 2D Animations in SECONDS? - Aseprite Importer packageBest Import Settings for Music & Sound Effects in Unity #unitytipsFor Loop and Arrays - C# Basics for Unity Beginners: #7Unity VR Tutorial: Prevent Head Clipping by adding Push-Back effectWhy Color Sampling Breaks in Unity 6 (And How to Fix It)Outline effect in Unity in 60 sec using Shader GraphRetro Pixelated Effect in Unity 3D under 60 Seconds!Making spaghetti code more Modular in Unity - SOLID Principles & Design PatternsDestructible 2D Map in Unity 6 - Part 3 - Tilemap ColliderUnity 6 Multiplayer in 60 Seconds - Fastest Setup Ever!Removing UNUSED using statements AUTOMATICALLY in Unity
Sunny Valley Studio |

Understanding Reference and Value types- C# Basics for Unity Beginners: #6

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER