文档

Unity Engine

Unity Engine

LinuxEditor

In the Unity editor on Linux.
阅读时间1 分钟最后更新于 17 天前

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
LinuxEditor = 16

Remarks

Examples

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