# DataMode

> Options for the different DataMode s of an EditorWindow.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public enum DataMode
```

## Fields

| Value                                                                          | Description                                                                                                                                     |
| ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| [Authoring](/engine/6000.0/script-reference/unityeditor/datamode/authoring.md) | Uses this mode where only authoring data is available.                                                                                          |
| [Disabled](/engine/6000.0/script-reference/unityeditor/datamode/disabled.md)   | Represents a situation or context in which the usage of [DataMode](/engine/6000.0/script-reference/unityeditor/datamode.md)s is not applicable. |
| [Mixed](/engine/6000.0/script-reference/unityeditor/datamode/mixed.md)         | Uses this mode where a mix of authoring and runtime data is available.                                                                          |
| [Runtime](/engine/6000.0/script-reference/unityeditor/datamode/runtime.md)     | Uses this mode where only runtime data is available.                                                                                            |
