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

function ShowUtility () : void

Description

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 ();