文档

Unity Engine


User Manual

Script Reference

Unity Engine


WindowsEditor

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

Definition

  • Type: Field
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
WindowsEditor = 7

Remarks

Examples

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