Version: 2019.2

ObjectNames

class in UnityEditor

Switch to Manual

Description

Helper class for constructing displayable names for objects.

Static Functions

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.