기술 자료

Unity Engine

Unity Engine

ObjectNames

Helper class for constructing displayable names for objects.
읽는 시간 1분최근 업데이트: 한 달 전

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.