Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

EditorUserBuildSettings

Namespace: UnityEditor

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Static Variables

activeBuildTarget The currently active build target.
activeBuildTargetChanged Triggered in response to SwitchActiveBuildTarget.
activeScriptCompilationDefines DEFINE directives for the compiler.
allowDebugging Enable source-level debuggers to connect.
androidBuildSubtarget Android platform options.
appendProject Append (rather than replace) the build of an iOS Xcode project.
blackberryBuildSubtarget The texture compression type to be used when building.
blackberryBuildType The build type to be used.
connectProfiler Start the player with a connection to the profiler.
development Enables a development build.
explicitNullChecks Are null references actively checked?
installInBuildFolder Place the built player in the build folder.
metroGenerateReferenceProjects Generate and reference C# projects from your main solution.
psp2BuildSubtarget PS Vita Build subtarget.
sceBuildSubtarget SCE Build subtarget.
selectedBuildTargetGroup The currently selected build target group.
selectedStandaloneTarget The currently selected target for a standalone build.
symlinkLibraries Symlink runtime libraries with an iOS Xcode project.
tizenBuildSubtarget The texture compression type to be used when building.
webPlayerOfflineDeployment Build the webplayer along with the UnityObject.js file (so it doesn't need to be downloaded).
webPlayerStreamed Select the streaming option for a webplayer build.
xboxBuildSubtarget Xbox Build subtarget.
xboxRunMethod Selected Xbox Run Method.

Static Functions

GetBuildLocation Get the current location for the build.
SetBuildLocation Set a new location for the build.
SwitchActiveBuildTarget Select a new build target to be active.