BuildPipeline Manual     Reference     Scripting  
Scripting > Editor Classes > BuildPipeline
BuildPipeline

Lets you programmatically build players or AssetBundles which can be loaded from the web.

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.

Class Functions
PushAssetDependencies

Lets you manage cross-references and dependencies between different asset bundles and player builds.

PopAssetDependencies

Lets you manage cross-references and dependencies between different asset bundles and player builds.

BuildPlayer

Builds a player (Unity Pro only).

BuildAssetBundle

Builds an asset bundle (Unity Pro only).

BuildAssetBundleExplicitAssetNames

Builds an asset bundle, with custom names for the assets (Unity Pro only).