immediateDisplay | 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(); } }
Did you find this page useful? Please give it a rating: