Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

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

BuildOptions

Description

Building options. Multiple options can be combined together.

See Also: BuildPipeline.BuildPlayer.

Variables

NonePerform the specified build without any special settings or extra tasks.
DevelopmentBuild a development version of the player.
AutoRunPlayerRun the built player.
ShowBuiltPlayerShow the built player.
BuildAdditionalStreamedScenesBuild a compressed asset bundle that contains streamed scenes loadable with the WWW class.
AcceptExternalModificationsToPlayerUsed when building XCode (iPhone) or Eclipse (Android) projects.
WebPlayerOfflineDeploymentCopy UnityObject.js alongside Web Player so it wouldn't have to be downloaded from internet.
ConnectWithProfilerStart the player with a connection to the profiler in the editor.
AllowDebuggingAllow script debuggers to attach to the player remotely.
SymlinkLibrariesSymlink runtime libraries when generating iOS XCode project. (Faster iteration time).
UncompressedAssetBundleDon't compress the data when creating the asset bundle.
DeployOnlineGenerate online version of webplayer.