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.

DashboardWidget

Build an OS X Dashboard widget.

StandaloneOSXUniversal

Build an OS X standalone.

StandaloneOSXPPC

Build an OS X standalone (PowerPC only).

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