BuildTarget Manual     Reference     Scripting  
Scripting > Editor Enumerations > BuildTarget
BuildTarget Enumeration

Target build platform.

Note: This is an editor class. To use it you have to place your script in Assets/Editor inside your project folder. Editor classes are in the UnityEditor namespace so for C# scripts you need to add "using UnityEditor;" at the beginning of the script.

See Also: BuildPipeline.BuildPlayer.

Values
WebPlayer

Build a web player.

WebPlayerStreamed

Build a streamed web player.

StandaloneOSXIntel

Build an OS X standalone (Intel only).

StandaloneWindows

Build a Windows standalone.

iPhone

Build an iPhone player

PS3

Build a PS3 Standalone

XBOX360

Build a XBox Standalone

Android

Build an Android .apk standalone app

Wii

Build a Wii standalone

NaCl

Build a Web Player with the Native Client runtime.

FlashPlayer

Build content as an swf file for playback with Adobe Flash.

StandaloneWindows64

Build a Windows 64-bit standalone.