EditorUserBuildSettings

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 Variables
selectedBuildTargetGroup

The currently selected build target group.

selectedStandaloneTarget

The currently selected target for a standalone build.

flashBuildSubtarget

ps3BuildSubtarget

PS3 Build Subtarget.

explicitNullChecks

Are null references actively checked?

wiiBuildSubtarget

Wii platform options.

xboxBuildSubtarget

Xbox Build subtarget.

wiiBuildDebugLevel

Wii player debug level.

xboxRunMethod

Selected Xbox Run Method.

androidBuildSubtarget

Android platform options.

webPlayerStreamed

Select the streaming option for a webplayer build.

webPlayerOfflineDeployment

Build the webplayer along with the UnityObject.js file (so it doesn't need to be downloaded).

activeBuildTarget

The currently active build target.

activeBuildTargetChanged

Triggered in response to SwitchActiveBuildTarget.

activeScriptCompilationDefines

DEFINE directives for the compiler.

development

Enables a development build.

connectProfiler

Start the player with a connection to the profiler.

allowDebugging

Enable source-level debuggers to connect.

appendProject

Append (rather than replace) the build of an iOS Xcode project.

symlinkLibraries

Symlink runtime libraries with an iOS Xcode project.

installInBuildFolder

Place the built player in the build folder.

Class Functions
SwitchActiveBuildTarget

Select a new build target to be active.

GetBuildLocation

Get the current location for the build.

SetBuildLocation

Set a new location for the build.