Select your preferred scripting language. All code snippets will be displayed in this language.
class in UnityEditor
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.
CloseUser build settings for the Editor
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. |
buildScriptsOnly | Is build script only enabled. |
compressWithPsArc | Build data compressed with PSArc. |
connectProfiler | Start the player with a connection to the profiler. |
development | Enables a development build. |
enableHeadlessMode | Enables a Linux headless build. |
explicitDivideByZeroChecks | Are divide by zero's actively checked? |
explicitNullChecks | Are null references actively checked? |
exportAsGoogleAndroidProject | Export Android Project for use wih Android Studio or Eclipse. |
forceInstallation | Force installation of package, even if error. |
forceOptimizeScriptCompilation | Force full optimizations for script complilation in Development builds. |
installInBuildFolder | Place the built player in the build folder. |
n3dsCreateCIAFile | Create a .cia "download image" for deploying to test kits (3DS). |
needSubmissionMaterials | Build submission materials. |
ps4BuildSubtarget | PS4 Build Subtarget. |
ps4HardwareTarget | Specifies which version of PS4 hardware to target. |
psmBuildSubtarget | PSM Build Subtarget. |
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. |
streamingInstallLaunchRange | When building an Xbox One Streaming Install package (makepkg.exe) The layout generation code in Unity will assign each scene and associated assets to individual chunks. Unity will mark scene 0 as being part of the launch range, IE the set of chunks required to launch the game, you may include additional scenes in this launch range if you desire, this specifies a range of scenes (starting at 0) to be included in the launch set. |
symlinkLibraries | Symlink runtime libraries with an iOS Xcode project. |
tizenBuildSubtarget | The texture compression type to be used when building. |
webGLUsePreBuiltUnityEngine | Use prebuilt JavaScript version of Unity engine. |
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. |
wiiUBootMode | Boot mode of a devkit. |
wiiUBuildDebugLevel | Wii U player debug level. |
wiiuBuildOutput | Built player postprocessing options. |
wiiUEnableNetAPI | Enable network API. |
wsaGenerateReferenceProjects | Generate and reference C# projects from your main solution. |
wsaSDK | Target Windows SDK. |
xboxBuildSubtarget | Xbox Build subtarget. |
xboxOneDeployMethod | The currently selected Xbox One Deploy Method. |
xboxOneNetworkSharePath | Network shared folder path e.g. MYCOMPUTER\SHAREDFOLDER\. |
xboxOneUsername | Windows account username associated with PC share folder. |
xboxRunMethod | Selected Xbox Run Method. |
GetBuildLocation | Get the current location for the build. |
GetPlatformSettings | Returns value for platform specifc Editor setting. |
GetWSADotNetNative | Is .NET Native enabled for specific build configuration. More information - https://msdn.microsoft.com/en-us/library/dn584397(v=vs.110).aspx. |
SetBuildLocation | Set a new location for the build. |
SetPlatformSettings | Set platform specifc Editor setting. |
SetWSADotNetNative | Enables or Disables .NET Native for specific build configuration. More information - https://msdn.microsoft.com/en-us/library/dn584397(v=vs.110).aspx. |
SwitchActiveBuildTarget | Select a new build target to be active. |