Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.
CloseFor some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.
CloseimmediateDisplay | Immediately display Show. |
Show the EditorWindow window.
EditorWindow.Show displays any window that has been created. In the script example below the window is created with no addition functionality. Many of the script examples in EditorWindow are more complex.
// Create an empty editor window and show it
using UnityEditor; using UnityEngine; using System.Collections;
public class Example : EditorWindow { [MenuItem("Example/Window position usage")] static void InitWindow() { Example window = (Example)GetWindow(typeof(Example)); window.Show(); } }