Unity 6.3
0 онлайн 89 гостей 3 в системе
Вход

RuntimePlatform.WindowsPlayer

Описание

В плеере на Windows.

Дополнительные ресурсы: RuntimePlatform, Компиляция в зависимости от платформы.

using UnityEngine;

public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.WindowsPlayer) { Debug.Log("Do something special here!"); } } }