Class ObjectNames
Assembly: UnityEditor.dll
Syntax
public sealed class ObjectNames
Methods
GetClassName(Object)
Declaration
public static string GetClassName(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetDragAndDropTitle(Object)
Declaration
public static string GetDragAndDropTitle(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
GetInspectorTitle(Object)
Declaration
public static string GetInspectorTitle(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
|
Improve this Doc
View Source
GetPropertyEditorTitle(Object)
Declaration
[Obsolete("Please use GetInspectorTitle instead")]
public static string GetPropertyEditorTitle(Object obj)
Parameters
Type |
Name |
Description |
Object |
obj |
|
Returns
GetUniqueName(String[], String)
Declaration
public static string GetUniqueName(string[] existingNames, string name)
Parameters
Returns
|
Improve this Doc
View Source
MangleVariableName(String)
Declaration
[Obsolete("Please use NicifyVariableName instead")]
public static string MangleVariableName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
NicifyVariableName(String)
Declaration
public static string NicifyVariableName(string name)
Parameters
Type |
Name |
Description |
String |
name |
|
Returns
SetNameSmart(Object, String)
Declaration
public static void SetNameSmart(Object obj, string name)
Parameters
Extension Methods