RuntimePlatform.WindowsPlayer Manual     Reference     Scripting  
Scripting > Enumerations > RuntimePlatform
RuntimePlatform.WindowsPlayer

RuntimePlatform.WindowsPlayer

Description

In the player on Windows.

See Also: Platform dependent Compilation.

JavaScript
if (Application.platform == RuntimePlatform.WindowsPlayer)
Debug.Log("Do something special here!");