コード例 #1
0
        public static void ShowWindow()
        {
            ConfigWindow window = GetWindow <ConfigWindow>();

            window.titleContent = new GUIContent("Generator Config");
            window.Show();
        }
コード例 #2
0
        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);
            }
        }