Version: 2020.2

설명

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!"); } } }