Unity Tutorial: Understanding Assemblies

preview_player
Показать описание
In this tutorial we're going to take a look in depth at using Assembly Definitions in Unity to organise our project and to reduce our compile times.

🎞️ Chapters
00:00 Introduction
05:30 Creating an assembly definition
08:45 Adding references to other assemblies
12:30 Creating an editor assembly
17:50 Creating version defines
26:00 Setting up constraints
30:15 Using sub-assemblies

If you've got questions add a comment below or send them in for the next Q&A video

Looking for other ways to get involved?

🎉 Thankyou to all of the Patrons 🎉
➔ Grant Coble-Neal
➔ John Douglas
➔ Kasper Enwall
➔ Adam Ercanbrack
➔ Tylah Heil
➔ Ian Kehoe
➔ James McCarthy
➔ Kalvin Pearce
➔ Seriphis
➔ Bradley Seymour
➔ SiliconOrchid
➔ Brian Smith
➔ Callan Syratt
➔ Robert Thorpe
➔ Daniel Williams

#Unity #Tutorial #GameDev
Рекомендации по теме
Комментарии
Автор

Great to see you back, Iain! Hope you're doing well :)

tooloo
Автор

Thank you for the comprehensive video on this topic. I think I would have been toast without it.

MagicCubeWorld
Автор

Thanks for sharing your knowledge with us Iain! I'm a mid-level programmer and I've been learning a lot with your videos.

carlinhu
Автор

Criminally underrated. Recently I've been decompiling Unity projects and looking through with ILspy and DLspy to see under the hood of things.
I'm not a program; more so an artist but trying to read a book or watch tutorial on C# or Unity I get so sleepy. But the more indepth nuances I find is more interesting.

freezingcicada
Автор

Great work! This video is just what i needed.

Автор

I love your tutorials because they always teach my stuff I didn’t even know existed and therefore wasn’t searching for. I’ve learnt more from you than I have most of my university professors. Hope you are on the mend too mate, your looking well

scruff-duff
Автор

Such a great video!! The clearest I've seen so far on assemblies - I finally understand them!
One question...will assemblies automatically recompile if other assemblies that they're dependent on are recompiled?

GregX
Автор

Heyyyy!!! glad to you're back already. Hope you're doing well.

therebelliousgeek
Автор

hi Ian, nice video, what about where scripts need to reference each other and these are in different assemblies, what would be the solution to avoid circular reference? especially in an existing project.

davidbone
Автор

I want to use assembly definitions from the start in my latest project, to make sure the project stays reasonably snappy.
I got it working up until I utilized my custom attributes. Here everything works in the inspector, since the attributes reference editor code I have to make another asm def for them only included in the editor.

This works great in editor, but when I start building my project I get errors that the custom attribute namespaces cannot be found. When I enable the asm def for all platforms I get errors that the custom attributes reference editor code, not allowing me to build.

TechDunk
Автор

good to see you again i hope everythings okay

vazquelol