EditorWindow.Show 显示

function Show (immediateDisplay : bool = false) : void

Description描述

Show the EditorWindow.

显示编辑器窗口。

EditorWindow.Show 显示

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();
	}
}
Page last updated: 2011-6-20