public static void ShowWindow(int tab)
        {
            ConfigWindow window = GetWindow(typeof(ConfigWindow)) as ConfigWindow;

            if (window != null)
            {
                window.tab = tab;
            }
        }
Exemple #2
0
        public static void ShowWindow(int tab)
        {
            ConfigWindow window = EditorWindow.GetWindow(typeof(ConfigWindow)) as ConfigWindow;

            window.tab = tab;
        }