BuildAssetBundleOptions Enumeration

Asset Bundle building options.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: BuildPipeline.BuildAssetBundle.

Values
CollectDependencies

Includes all dependencies.

CompleteAssets

Forces inclusion of the entire asset.

DisableWriteTypeTree

Do not include type information within the AssetBundle.

DeterministicAssetBundle

Builds an asset bundle using a hash for the id of the object stored in the asset bundle.

UncompressedAssetBundle

Don't compress the data when creating the asset bundle.