windowTitle | The title of the window the element is inside. |
text | The text to identify the element with. |
mode | Optional mode to specify how to search for the element. |
true
if the requested element was found; otherwise false
.
Highlights an element in the editor.
// Highlight the Scale property in the Inspector. // This will work if a GameObject is selected and shown in the Inspector, // provided that the Transform component is not collapsed. Highlighter.Highlight ("Inspector", "Scale");
no example available in C#
no example available in Boo
// Highlight the X component of the Scale property in the Inspector. // This will work if a GameObject is selected and shown in the Inspector, // provided that the Transform component is not collapsed. Highlighter.Highlight ("Inspector", "m_LocalScale.x");// If you have your own MonoBehaviour called MyBehaviour with a float called myFloat, // you can highlight that control in the Inspector like this: Highlighter.Highlight ("MyBehaviour", "myFloat");
no example available in C#
no example available in Boo
// Highlight the Add Component button in the Inspector. // This will work if a GameObject is selected and shown in the Inspector. Highlighter.Highlight ("Inspector", "Add Component");// Highlight the Create button in the Hierarchy view. Highlighter.Highlight ("Hierarchy", "Create");
no example available in C#
no example available in Boo