Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

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

EditorWindow.Show

public function Show(immediateDisplay: bool = false): 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();
	    }
	}