CollectDependencies
Includes all dependencies.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Field
- Namespace: UnityEditor
- Assembly: UnityEditor
CollectDependencies = 2
Remarks
This follows all references to any assets, game objects or components and includes them in the build.
This flag is only taken into account when calling the obsolete BuildPipeline.BuildAssetBundle method. When calling BuildPipeline.BuildAssetBundles this flag is ignored because references are always followed.