EditorWindow.ShowUtility Manual     Reference     Scripting  
Scripting > Editor Classes > EditorWindow

function ShowUtility () : void


Show the EditorWindow as a floating utility window.

Utility windows will always be in front of normal windows, and will be hidden when user switches to another application.

// MyWindow is the class name of our EditorWindow
var window : MyWindow = new MyWindow();
window.ShowUtility ();