Version: 5.4

RuntimePlatform

enumeration

Cambiar al Manual

Descripción

La aplicación de la plataforma se está ejecutando. Retornado por Application.platform.

Note: The difference between using RuntimePlatform and Platform dependent Compilation is that using RuntimePlatform is evaluated at runtime while Platform dependent Compilation is evaluated at compile time. So if you can use platform dependent compilation, don't hesitate to use it. In most cases, you can get the same functionality using both, and using the defines will produce smaller and faster code, as you don't need to check at runtime. There are some cases where RuntimePlatform is needed at runtime.

Variables

OSXEditorEn el editor de Unity en Mac OS X.
OSXPlayerEn el player en Mac OS X.
WindowsPlayerEn el player en Windows.
OSXDashboardPlayerEn el widget Dashboard en Mac OS X.
WindowsEditorEn el editor de Unity en Windows.
IPhonePlayerEn el player en el iPhone.
XBOX360En el player en XBOX360.
PS3En el player en Play Station 3.
AndroidEn el player en dispositivos Android.
LinuxPlayerEn el player en Linux.
WebGLPlayerEn el player en WebGL?
WSAPlayerX86En el player en Windows Store Apps cuando la arquitectura de CPU es x86.
WSAPlayerX64En el player en Windows Store Apps cuando la arquitectura CPU es x64.
WSAPlayerARMEn el player en Windows Store Apps cuando la arquitectura CPU es ARM.
WP8PlayerEn el player en el dispositivo Windows Phone 8.
TizenPlayerEn el player en Tizen.
PSP2En el player en PS Vita.
PS4En el player en Playstation 4.
XboxOneEn el player en Xbox One.
SamsungTVPlayerEn el player en Samsung Smart TV.
WiiUEn el player en Wii U.
tvOSEn el player en el tvOS de Apple.