RuntimePlatform Manual     Reference     Scripting  
Scripting > Enumerations > RuntimePlatform
RuntimePlatform Enumeration

The platform application is running. Returned by Application.platform.

Values
OSXEditor

In the Unity editor on Mac OS X.

OSXPlayer

In the player on Mac OS X.

WindowsPlayer

In the player on Windows.

OSXWebPlayer

In the web player on Mac OS X.

OSXDashboardPlayer

In the Dashboard widget on Mac OS X.

WindowsWebPlayer

In the web player on Windows.

WindowsEditor

In the Unity editor on Windows.