public static void Init() { // Get existing open window or if none, make a new one: Instance = (EcosystemPublisherWizard)EditorWindow.GetWindow (typeof (EcosystemPublisherWizard)); Instance.Initialize(); }
public void Initialize() { Debug.Log("Init"); Instance = this; InitWindowTitle(); position = new Rect(120,120,300,292); // initial fixed size minSize = new Vector2(300, 292); }