Version: 2020.3
  • C#


class in UnityEditor

Suggest a change


Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.


Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.




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.