Skip to content

Commit 15db23b

Browse files
committed
Fix article about unity build process. #1
1 parent 8ca0ced commit 15db23b

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

docs/UnderTheHood.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,27 +21,33 @@ big project into small one. So I decided to make incremental compiler for Unity3
2121

2222
### Unity build process
2323

24-
Unity3D makes three projects from Assets directory if your project has only C# sources.
24+
Unity3D makes at most four projects from Assets directory if your project has only C# sources.
2525
(If there are .js or .boo sources, additional projects will be created.
2626
more detailed info: [Unity Manual: Special Folders and Script Compilation Order](http://docs.unity3d.com/Manual/ScriptCompileOrderFolders.html))
2727

2828
- Assembly-CSharp-firstpass
2929
- Consists of scripts in Plugins directory.
3030
- No dependency.
3131
- It's rare to build this project because these sources are not modified.
32+
- Assembly-CSharp-Editor-firstpass
33+
- Consists of scripts in Plugins/Editor directory.
34+
- Depends on Assembly-CSharp-firstpass.
35+
- It's rare to build this project because these sources are not modified.
3236
- Assembly-CSharp
3337
- Consists of almost sources in Assets.
3438
(except for sources in Plugins and Editor directory)
3539
- Depends on Assembly-CSharp-firstpass
3640
- This project is always built because these sources are main place for common work.
3741
- Assembly-CSharp-Editor
3842
- Consists of scripts in Editor directory.
39-
- Depends on Assembly-CSharp
43+
- Depends on every other projects.
4044
- This project is always built not because these sources are modified but by building
4145
dependent Assembly-CSharp.
4246

4347
These projects will be built successively and Unity3d cannot build these concurrently
4448
because they depends on previous projects.
49+
(but Assembly-CSharp and Assembly-CSharp-Editor-firstpass are built at the same time
50+
because there is no dependency between them.)
4551

4652
### Roslyn
4753

0 commit comments

Comments
 (0)