This version of Unity is unsupported.

ObjectNames

class in UnityEditor

/

Implemented in:UnityEditor

Description

Helper class for constructing displayable names for objects.

Static Methods

GetClassNameClass name of an object.
GetDragAndDropTitleDrag and drop title for an object.
GetInspectorTitleInspector title for an object.
GetUniqueNameMake a unique name using the provided name as a base.If the target name is in the provided list of existing names, a unique name is generated by appending the next available numerical increment.
NicifyVariableNameMake a displayable name for a variable.
SetNameSmartSets the name of an Object.