# ObjectNames

> Helper class for constructing displayable names for objects.

## Definition

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

```csharp
public sealed class ObjectNames
```

## Static Methods

| Method                                                                                                | Description                                           |
| ----------------------------------------------------------------------------------------------------- | ----------------------------------------------------- |
| [GetClassName](/engine/6000.5/script-reference/unityeditor/objectnames/getclassname.md)               | Class name of an object.                              |
| [GetDragAndDropTitle](/engine/6000.5/script-reference/unityeditor/objectnames/getdraganddroptitle.md) | Drag and drop title for an object.                    |
| [GetInspectorTitle](/engine/6000.5/script-reference/unityeditor/objectnames/getinspectortitle.md)     | Inspector title for an object.                        |
| [GetUniqueName](/engine/6000.5/script-reference/unityeditor/objectnames/getuniquename.md)             | Make a unique name using the provided name as a base. |
| [NicifyVariableName](/engine/6000.5/script-reference/unityeditor/objectnames/nicifyvariablename.md)   | Make a displayable name for a variable.               |
| [SetNameSmart](/engine/6000.5/script-reference/unityeditor/objectnames/setnamesmart.md)               | Sets the name of an Object.                           |
