Uploaded April 2023 | Updated September 2026, 2 hours ago
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: github.com/llamacademy/scriptable-object-based-guns
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 Namespaces Explanation: youtu.be/rmP8vAuuhoA
🟠 Assembly Definition Manual: docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html
🟠 Assembly Definition Properties: docs.unity3d.com/Manual/class-AssemblyDefinitionImporter.html
🟠 Assembly Definitions & Packages: 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.
Chapters:
00:00 Topic Introduction
00:52 How Unity works without Assembly Definitions & the use case for them
01:30 How I split up Assembly Definitions
01:59 Examples from the Gun Scriptable Object Series
02:55 Creating an Assembly Definition File & Common Option Overview
04:37 More Advanced Features You'll Probably Never Use
05:10 Why it's Important for Asset Store Packages
05:40 Final Thoughts & Support LlamAcademy
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: github.com/llamacademy/scriptable-object-based-guns
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 Namespaces Explanation: youtu.be/rmP8vAuuhoA
🟠 Assembly Definition Manual: docs.unity3d.com/Manual/ScriptCompilationAssemblyDefinitionFiles.html
🟠 Assembly Definition Properties: docs.unity3d.com/Manual/class-AssemblyDefinitionImporter.html
🟠 Assembly Definitions & Packages: 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.
Chapters:
00:00 Topic Introduction
00:52 How Unity works without Assembly Definitions & the use case for them
01:30 How I split up Assembly Definitions
01:59 Examples from the Gun Scriptable Object Series
02:55 Creating an Assembly Definition File & Common Option Overview
04:37 More Advanced Features You'll Probably Never Use
05:10 Why it's Important for Asset Store Packages
05:40 Final Thoughts & Support LlamAcademy










