public static void ShowWindow() { ConfigWindow window = GetWindow <ConfigWindow>(); window.titleContent = new GUIContent("Generator Config"); window.Show(); }
public static void ShowWindow(string withConfigName) { ConfigWindow window = GetWindow <ConfigWindow>(); window.titleContent = new GUIContent("Generator Config"); window.Show(); if (window.m_GeneratorsTab != null) { window.m_GeneratorsTab.InitWithConfig(withConfigName); } }