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 unity3d / asset bundle that contains additional streamed scenes.

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.