Commit 26be265
committed
Small adjustment to the unity-content-format documentation
Make it more clear that sharedasset files contain all referenced
assets, not just ones that are shared.
We are also adding more information about the player build layout
to the User Manual, so the build algorithm is still documented in quite a quick way.
diff --git c/Documentation/unity-content-format.md i/Documentation/unity-content-format.md
index 2a7552c..f581e28 100644
--- c/Documentation/unity-content-format.md
+++ i/Documentation/unity-content-format.md
@@ -32,9 +32,9 @@ The content compromises of the scenes in the Scene List, the contents of Resourc
The SerializedFiles are named in a predictable way. This is a very quick summary:
* Each scene in the SceneList becomes a "level" file, e.g. "level0", "level1".
-* Referenced Assets shared between the Scenes becomes "sharedAssets" files, e.g. "sharedAssets0.assets", "sharedAssets1.assets".
+* Assets referenced from Scenes becomes "sharedAssets" files, e.g. "sharedAssets0.assets", "sharedAssets1.assets". Scenes are processed in order of the scene list and assets are stored in the sharedasset file corresponding to the scene where they are first encountered. This means that a level file may reference multiple sharedasset files, but only the ones at the same number and lower. For example the 3rd scene, level2 can reference "sharedAssets2.assets", "sharedAssets1.assets" and "sharedAssets0.assets" but never "sharedAssets3.assets".
* The contents of the Resources folder becomes "resources.assets".
-* The Preferences become "globalgamemanager", "globalgamemanager.assets".
+* The Preferences become "globalgamemanager". Assets referenced from "globalgamemanager" are saved in "globalgamemanager.assets".
If [compression](https://docs.unity3d.com/6000.2/Documentation/ScriptReference/BuildOptions.CompressWithLz4HC.html) is enabled, the Player build will compress all the serialized files into a single Unity Archive file, called `data.unity3d`.1 parent f8f6028 commit 26be265
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
0 commit comments