BuildOptions Manual     Reference     Scripting  
Scripting > Editor Enumerations > BuildOptions
BuildOptions Enumeration

Building options. Multiple options can be combined together.

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.BuildPlayer.

Values
None

Perform the specified build without any special settings or extra tasks.

Development

Build a development version of the standalone player.

AutoRunPlayer

Run the built player.

ShowBuiltPlayer

Show the built player.

BuildAdditionalStreamedScenes

Build a compressed asset bundle that contains streamed scenes loadable with the WWW class.

AcceptExternalModificationsToPlayer

Do not overwrite player directory, but accept user's modifications.

WebPlayerOfflineDeployment

Copy UnityObject.js alongside Web Player so it wouldn't have to be downloaded from internet.

ConnectWithProfiler

Start the player with a connection to the profiler in the editor

AllowDebugging

Allow script debuggers to attach to the player remotely.

SymlinkLibraries

Symlink runtime libraries when generating iOS XCode project. (Faster iteration time).

UncompressedAssetBundle

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

DeployOnline

Publish Web Player online

StripPhysics

Remove Physics code from player to save build size (Flash and NaCl only).