Documentation

Unity Engine

Unity Engine

CompleteAssets

Forces inclusion of the entire asset.
Read time 1 minuteLast updated 2 months ago

Definition

  • Type: Field
  • Namespace: UnityEditor
  • Assembly: UnityEditor
Warning
Deprecated. This has been made obsolete. It is always disabled in the new AssetBundle build system introduced in 5.0.
CompleteAssets = 4

Remarks

For example if you pass a Mesh into the BuildPipeline.BuildAssetBundle function and use CompleteAssets it would also include the game object and any animation clips in the same asset.
This flag is only taken into account when calling the obsolete BuildPipeline.BuildAssetBundle method. When calling BuildPipeline.BuildAssetBundles this behaviour is always disabled.