Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Show(immediateDisplay: bool = false): void;
void Show(bool immediateDisplay = false);
def Show(immediateDisplay as bool = false) as void

Description

Show the EditorWindow.


Empty editor window.

	// Create an empty editor window and show it
	
	class EditorWindowPosition extends EditorWindow {
	    @MenuItem ("Example/Window position usage")
	    static function Init () {
	        var window = EditorWindow.GetWindow(EditorWindowPosition);
		window.Show();
	    }
	}