Unity - Scripting API: ObjectNames.GetInspectorTitle
Success!
Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
Submission failed
For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
Declaration
public static string GetInspectorTitle(Object obj);
Declaration
public static string GetInspectorTitle(Object obj, bool multiObjectEditing);
Parameters
| Parameter | Description |
|---|---|
| obj | Object to get a title from. |
| multiObjectEditing | Tells if the inspector is running multi-edit. |
Returns
string Returns the best title according to objects being inspected.
Description
Inspector title for an object.