Select your preferred scripting language. All code snippets will be displayed in this language.
enumeration
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.
CloseBuilding options. Multiple options can be combined together.
See Also: BuildPipeline.BuildPlayer.
None | Perform the specified build without any special settings or extra tasks. |
Development | Build a development version of the player. |
AutoRunPlayer | Run the built player. |
ShowBuiltPlayer | Show the built player. |
BuildAdditionalStreamedScenes | Build a compressed asset bundle that contains streamed scenes loadable with the WWW class. |
AcceptExternalModificationsToPlayer | Used when building Xcode (iPhone) or Eclipse (Android) projects. |
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. |
SymlinkLibraries | Symlink runtime libraries when generating iOS Xcode project. (Faster iteration time). |
UncompressedAssetBundle | Don't compress the data when creating the asset bundle. |
EnableHeadlessMode | Build headless Linux standalone. |
BuildScriptsOnly | Build only the scripts of a project. |
ForceEnableAssertions | Include assertions in the build. By default, the assertions are only included in development builds. |
ForceOptimizeScriptCompilation | Force full optimizations for script complilation in Development builds. |