In Unity, assembly can be used to accelerate compiling.
I used to believe that if one script changed, only its containing assembly is recompiled.
I did some experiments today, and find that not only the containing assembly is recompiled.
For example, Assembly-CSharp.dll is recompiled most of the time.
Assume script ‘a’ belongs to assembly ‘A’.
Based on my experiments, adding/deleting public field or method, assemblies that reference ‘A’ will be recompiled. Modifying content of a public method will not cause referencing assemblies to be recompiled. adding/deleting/modifying private things will not cause referencing assemblies to be recompiled either.
So, which assemblies will be recompiled if I change one script in Unity?
Is there any article or book about this?