Version: 2017.2
public static RuntimePlatform platform ;

Description

Содержит путь к папке игровых данных (Read Only).

Use this property if you need to do some platform dependent work.

using UnityEngine;

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

See Also: RuntimePlatform enum, SystemInfo class.