static void Init() { EditorWindowExample window = ScriptableObject.CreateInstance <EditorWindowExample>(); window.position = new Rect(Screen.width / 2, Screen.height / 2, 250, 150); window.ShowModalUtility(); }
private static void Init() { EditorWindowExample exemple = GetWindow <EditorWindowExample>(); exemple.Show(); }