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
Auf dieser Seite können Sie das Online-Video 3 Unity C# Misconceptions mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer git-amend 04 August 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 11,698 Mal angesehen und es wurde von 773 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!