Version: 2019.1

Description

In the Unity editor on Linux.

using UnityEngine;

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