Version: 2019.2

ObjectNames.GetInspectorTitle

Switch to Manual
public static string GetInspectorTitle (Object obj);

Description

Inspector title for an object.

If an object is a script, this will return "scriptname (Script)", for example.

See Also: ObjectNames.GetClassName, ObjectNames.NicifyVariableName.