Exemple #1
0
 void GUISettingButton()
 {
     if (GUILayout.Button("Settings", GUILayout.Width(100f)))
     {
         SettingsEditorWindow.Init();
     }
 }
Exemple #2
0
        static public void Init()
        {
            // Get existing open window or if none, make a new one:
            SettingsEditorWindow window = (SettingsEditorWindow)GetWindow(typeof(SettingsEditorWindow), true, "Hitbox Studio Pro Settings", true);

            window.minSize = new Vector2(350, 350);
            window.Show();
        }