Unity 3D Assembly Definitions
✍ Last Updated : November 4, 2022
🚪 Prequisite Knowledge (Optional)
Describe Initial Knowledge that reader need to know before reading this article
❓ Key Question / Problem / Issue
Describe what question / Problem / Issue this knowledge should answer
- Why we need Assembly Definition
- What Issue Assembly Definition trying to solve
- Any known Problem in Assembly Definition Implementation
✅ Expected Output/Definition of Done
Define what information you really need and the definition of done
- Guideline on what Assembly Definition is?
- Guideline on How to start using Assembly Definition
- List of Trick on How to properly Implement Assembly Definitions
🎁 Resulting Solution
Write writing results below
An assembly is a C# code library that contains the compiled classes and structs that are defined by your scripts and which also define references to other assemblies
How to:
- Right Click on the Package → Create → Assembly Definition
Frequently Asked Question
-
I’ve heard it slows compilation speed instead
no it doesn’t. from the forum above what cause editor slowing down is caused by unity domain reloading.
you can check how assemblies are built and how long it takes. with the following gist
Find out what assemblies are being built and how long each takes.
additionally here are some trick found to reduce editor slowing down by disabling domain reloading. but watch out for other caveats within it
there also has been lots of update since the post that improve assembly definition performance
No Comments