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:
• Unity C# Programming Basics for Begin...
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:
/ c-essentials-for-99701780
Learn more about C# & Game Dev in Unity in my video courses at:
https://courses.sunnyvalleystudio.com/
---------------
Join the discord:
/ discord
You can support me through Patreon:
/ 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: #6 онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Sunny Valley Studio 10 Март 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 787 раз и оно понравилось 51 людям.