Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

ObjectNames.GetInspectorTitle

static function GetInspectorTitle(obj: Object): string;
static string GetInspectorTitle(Object obj);
static def GetInspectorTitle(obj as Object) as string

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.