# ApplicationTitleDescriptor

> Utility class containing all the information necessary to format Unity Editor main window title. All the various fields are concatenated to create a fully formed title. If only ApplicationTitleDescriptor.title is provided, this will become the complete title.

## Definition

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

```csharp
public class ApplicationTitleDescriptor
```

## Remarks

See also: [EditorApplication.updateMainWindowTitle](/engine/6000.0/script-reference/unityeditor/editorapplication/updatemainwindowtitle-1.md).

## Examples

```csharp
using UnityEditor;
using UnityEngine;

public class WindowTitleExample
{
    private static void CustomTitleBar(ApplicationTitleDescriptor desc)
    {
        desc.title = $"My Editor Custom Title version: {Random.value}";
    }

    [MenuItem("Test/Setup custom title bar")]
    static void Setup()
    {
        EditorApplication.updateMainWindowTitle -= CustomTitleBar;
        // This callback will be triggered when a new scene is loaded or when Unity starts.
        EditorApplication.updateMainWindowTitle += CustomTitleBar;
        EditorApplication.UpdateMainWindowTitle();
    }
}
```

## Fields

| Value                                                                                    | Description                                                                                                                                                                                             |
| ---------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [title](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/title.md) | Setting this field will set the complete editor title without using any of the other fields of [ApplicationTitleDescriptor](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor.md). |

## Properties

| Property                                                                                                             | Description                                                                          |
| -------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------ |
| [activeSceneName](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/activescenename.md)         | Unity active scene.                                                                  |
| [codeCoverageEnabled](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/codecoverageenabled.md) | Is code coverage enabled.                                                            |
| [projectName](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/projectname.md)                 | Current project name.                                                                |
| [targetName](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/targetname.md)                   | What is the runtime target for a Unity build.                                        |
| [unityProductName](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/unityproductname.md)       | Unity version name in the form of: Unity \\\<number\\> \<release stream (optional)>. |
| [unityVersion](/engine/6000.0/script-reference/unityeditor/applicationtitledescriptor/unityversion.md)               | Unity version number.                                                                |
