Today we're going to discuss 3 common misconceptions about some of the more nuanced details of the C# programming language as it pertains to Unity: when to use try/catch, the differences between `==` and Equals(), and proper purpose and use of the `var` keyword in C#.
Want to support me? 😀
Buy me a coffee! https://ko-fi.com/adammyhre
🔔 Subscribe for more Unity Tutorials / @git-amend
Discord: / discord
#unity3d #gamedev #indiedev
▬ Contents of this video ▬▬▬▬▬▬▬▬▬▬
0:00 When to Try/Catch
4:15 Equals operator and method are Equal
11:30 Using var makes C# dynamic
Useful Code:
https://github.com/adammyhre?tab=repo...
Unity Utility Library: https://github.com/adammyhre/Unity-Utils
Lock Inspector Hotkey: https://gist.github.com/adammyhre/475...
Follow me!
https://linktr.ee/gitamend
Watch video 3 Unity C# Misconceptions online without registration, duration hours minute second in high quality. This video was added by user git-amend 04 August 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 9,14 once and liked it 64 people.