obj | Object to get a title from. |
multiObjectEditing | Tells if the inspector is running multi-edit. |
string Returns the best title according to objects being inspected.
Inspector title for an object.
If an object is a script, this will return "scriptname (Script)", for example.
Additional resources: ObjectNames.GetClassName, ObjectNames.NicifyVariableName.