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

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

            window.tab = tab;
        }