How to use Null Conditional Operator - Unity Basic C# Programming #20

Опубликовано: 14 Май 2026
на канале: Create & Play Games
1,236
19

How to use Null Conditional Operator - Unity Basic C# Programming #20

In this video, we will show you how to use the Null Conditional Operator by using this approach your code will be smaller, this will eliminate a lot of ifs in your code. meaning easy to manage code and less stressful coding. still not convince? well just watch this video to see it in action.

UPDATE: some people told me that don't use this on unity3d game objects and components. if you want to know here's the related link with the information
  / why-are-null-coalescing-operators-evil-in-...  
https://blogs.unity3d.com/2014/05/16/...
https://answers.unity.com/questions/1...
https://issuetracker.unity3d.com/issu...


If you like this kind of content please don't forget to share, like and subscribe 😁
👉 https://youtube.com/@CreatePlayGames/...

🙏 Follow us on our social media accounts
👉 Facebook
  / makinggameswithunity  
👉 Instagram
  / makinggameswithunity  
👉Reddit
  / makinggameswithunity  
👉Twitter
  / with_unity  
👉LinkedIn
  / making-games-with-unity  
👉 Website
https://www.makinggameswithunity.com/
👉 Youtube Subscribe now
http://www.youtube.com/c/MakingGamesW...

#unity3d #unitytutorial #makinggameswithunity #unity #unitygameengine #unity #howtomakegame #makegame #unityandroidtutorial #unitytutorial #unitytutorialforbeginners #untiybasics #unity3dtutorial