---
title: isEditorOnly
product: Unity Editor
version: '7000.0'
latest_version: '7000.0'
status: This page documents version 7000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/compilation/projectinfo/iseditoronly
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/compilation/projectinfo/iseditoronly.md
last_updated: 2026-11-26
generated_at: 2026-11-26T04:32:11.765Z
locale: en-us
---

# isEditorOnly

> Whether the project only compiles for the Editor.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor.Compilation](/engine/7000.0/script-reference/unityeditor/compilation.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public bool isEditorOnly { get; }
```
