Namespaces in C# by Unity Example | Beginner Unity Tutorial

Namespaces in C# by Unity Example | Beginner Unity Tutorial

LlamAcademy

1 год назад

4,145 Просмотров

In this tutorial you'll learn about what namespaces are, how they are helpful, and when to use them!

Namespaces are a fundamental concept in C# that allow us to organize our code into logical segments. All C# classes are within a namespace either explicitly or inherently. If you don't explicitly define one, the class goes into the "global" namespace.

💸 Ongoing sales 💸
⚫ Check out the latest Humble Bundles https://www.humblebundle.com/software?partner=llamasoftware&charity=2280172
⚫ Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC
⚫ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC

👨‍💻 Unusually, since we are talking conceptually, not with a specific implementation

📚 Resources:
⚫ Assembly Definitions Tutorial: https://youtu.be/qprZHOPu2OI
⚫ Microsoft C# Namespace Documentation: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/namespace
⚫ Namespaces Fundamentals: https://learn.microsoft.com/en-us/dotnet/csharp/fundamentals/types/namespaces
⚫ Naming Namespaces Guidelines: https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces
⚫ Namespaces Technical Documentation: https://learn.microsoft.com/en-us/dotnet/csharp/language-reference/language-specification/namespaces

❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
⚫ Patreon: https://www.patreon.com/llamacademy
⚫ YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video

📱 Let's stay connected
YouTube: https://youtube.com/c/LlamAcademy
Patreon: https://www.patreon.com/llamacademy
Facebook: https://facebook.com/LlamAcademyOfficial
Twitter: https://twitter.com/TheLlamAcademy
TikTok: https://tiktok.com/@LlamAcademy
Instagram: https://instagram.com/LlamAcademy

----
Most tutorials come from knowledge gained making https://survival.llama.software Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets: https://assetstore.unity.com/publishers/22409?_aid=1101l9QvC
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment

Chapters:
00:00 What are Namespaces?
00:54 Do You Need Namespaces?
01:29 Practical Example
02:45 "Sub-namespaces"
04:06 Next Steps, Closing Thoughts, & Support LlamAcademy

Тэги:

#Unity #Tutorial #How_to #How_to_unity #unity_how_to #llamacademy #llama_academy #video_game_development #development #C# #namespace #namespaces #fundamentals #basic #beginner #unity_namespace #unity_beginner_tutorial #namespaces_in_unity #namespaces_in_C#
Ссылки и html тэги не поддерживаются


Комментарии: