Assembly Definitions, Explained




Published: 04 Apr 2023

This week you can learn about Assembly Definitions, which are a Unity Construct to create C# Projects within your game's "Solution". This allows Unity to determine which scripts needs to be compiled after making a change, instead of naively recompiling the entire project. Compiling fewer scripts lets you get back into the editor faster after making code changes!


🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂

👨‍💻 Get the FULL FREE PROJECT on GitHub: https://github.com/llamacademy/scriptable-object-based-guns

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 Namespaces Explanation: https://youtu.be/rmP8vAuuhoA

🟠 Assembly Definition Manual: https://docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html

🟠 Assembly Definition Properties: https://docs.unity3d.com/Manual/class-AssemblyDefinitionImporter.html

🟠 Assembly Definitions & Packages: https://docs.unity3d.com/Manual/cus-asmdef.html


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.