Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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

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.
GetUniqueObjectNameReturns a unique name using the provided name as a base, derived from the names of a list of existing objects.
NicifyVariableNameMake a displayable name for a variable.
SetNameSmartSets the name of an Object.