Namespaces in C# by Unity Example | Beginner Unity Tutorial



Namespaces in C# by Unity Example | Beginner Unity Tutorial

Namespaces in C# by Unity Example | Beginner Unity Tutorial

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 💸
⚫ Synty Humble Bundle: https://www.humblebundle.com/software/syntys-polygon-game-dev-assets-bundle-3-software?partner=llamasoftware&charity=2280172
⚫ Epic Royalty Free Music Collection Humble Bundle: https://www.humblebundle.com/software/epic-royaltyfree-music-collection-software?partner=llamasoftware&charity=2280172
⚫ gim.studio Publisher Sale! 50% OFF gim.studio Assets! https://assetstore.unity.com/publisher-sale?aid=1101l9QvC
⚫ FREE Animated Spider Model from gim.studio with Promo Code : https://assetstore.unity.com/packages/3d/characters/animals/animalia-spider-52710?aid=1101l9QvC
⚫ See all active asset sales on the Asset Store: https://assetstore.unity.com/?on_sale=true&orderBy=0&rows=96&clickref=1100lwtudvMJ&utm_source=partnerize&utm_medium=affiliate&utm_campaign=unity_affiliate&aid=1101l9QvC
⚫ Save 25% off your first Asset Store Order: https://prf.hn/click/camref:1101l9QvC/creativeref:1011l78340
⚫ 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:
⚫ 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

Comments are closed.