WindowsEditor
In the Unity editor on Windows.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Field
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
WindowsEditor = 7
Remarks
Additional Resources: RuntimePlatform, Platform dependent compilation.
Examples
using UnityEngine;public class Example : MonoBehaviour{ void Start() { if (Application.platform == RuntimePlatform.WindowsEditor) { Debug.Log("Do something special here!"); } }}