ObjectNames
Helper class for constructing displayable names for objects.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Class
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public sealed class ObjectNames
Static Methods
Method | Description |
|---|---|
| GetClassName | Class name of an object. |
| GetDragAndDropTitle | Drag and drop title for an object. |
| GetInspectorTitle | Inspector title for an object. |
| GetUniqueName | Make a unique name using the provided name as a base. |
| GetUniqueObjectName | Returns a unique name using the provided name as a base, derived from the names of a list of existing objects. |
| NicifyVariableName | Make a displayable name for a variable. |
| SetNameSmart | Sets the name of an Object. |