---
title: ProjectTarget
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/projecttarget
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/unityeditor/compilation/projecttarget.md
last_updated: 2026-11-26
generated_at: 2026-11-26T04:31:16.765Z
locale: en-us
---

# ProjectTarget

> Selects which compilation CompilationPipeline.GetProjects describes.

## Definition

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

```csharp
public enum ProjectTarget
```

## Fields

| Value                                                                                                                         | Description                                                              |
| ----------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------ |
| [Editor](/engine/7000.0/script-reference/unityeditor/compilation/projecttarget/editor.md)                                     | Selects the projects compiled for the Editor, including test assemblies. |
| [Player](/engine/7000.0/script-reference/unityeditor/compilation/projecttarget/player.md)                                     | Selects the projects compiled for the Player, excluding test assemblies. |
| [PlayerWithTestAssemblies](/engine/7000.0/script-reference/unityeditor/compilation/projecttarget/playerwithtestassemblies.md) | Selects the projects compiled for the Player, including test assemblies. |
