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.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseUser build settings for the Editor
activeBuildTarget | The currently active build target. |
activeScriptCompilationDefines | DEFINE directives for the compiler. |
allowDebugging | Enable source-level debuggers to connect. |
androidBuildSubtarget | Android platform options. |
androidBuildSystem | Set which build system to use for building the Android package. |
androidETC2Fallback | ETC2 texture decompression fallback on Android devices that don't support ETC2. |
buildScriptsOnly | Is build script only enabled. |
compressFilesInPackage | Compress files in package. |
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 with Android Studio/Gradle. |
forceInstallation | Force installation of package, even if error. |
installInBuildFolder | Place the built player in the build folder. |
iOSBuildConfigType | Scheme with which the project will be run in Xcode. |
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. |
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. |
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. |
wsaSubtarget | Sets and gets target device type for the application to run on when building to Windows Store platform. |
wsaUWPSDK | Sets and gets target UWP SDK to build Windows Store application against. |
wsaUWPVisualStudioVersion | Sets and gets Visual Studio version to build Windows Store application with. |
xboxBuildSubtarget | Xbox Build subtarget. |
xboxOneDeployMethod | The currently selected Xbox One Deploy Method. |
xboxOneNetworkSharePath | Network shared folder path e.g. MYCOMPUTER\SHAREDFOLDER\. |
xboxOneRebootIfDeployFailsAndRetry | Sets the XBox to reboot and redeploy when the deployment fails. |
xboxOneUsername | Windows account username associated with PC share folder. |
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. |
SwitchActiveBuildTargetAsync | Select a new build target to be active during the next Editor update. |
Did you find this page useful? Please give it a rating:
Thanks for rating this page!
What kind of problem would you like to report?
Thanks for letting us know! This page has been marked for review based on your feedback.
If you have time, you can provide more information to help us fix the problem faster.
Provide more information
You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:
You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:
You've told us there is information missing from this page. Please tell us more about what's missing:
You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:
You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:
You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:
You've told us this page has a problem. Please tell us more about what's wrong:
Thanks for helping to make the Unity documentation better!