RuntimePlatform.WindowsEditor
Описание
В редакторе Unity на Windows.
Дополнительные ресурсы: RuntimePlatform, Компиляция в зависимости от платформы.
using UnityEngine;
public class Example : MonoBehaviour { void Start() { if (Application.platform == RuntimePlatform.WindowsEditor) { Debug.Log("Do something special here!"); } } }