private void OnGUI()
    {
        selectedValue = EditorGUILayout.Popup("Level to Delete", selectedValue, levelOptions);

        if (GUILayout.Button("Delete Level"))
        {
            gameLevelToDelete = levels[selectedValue];
            DeleteLevel();
            WindowRefresh.RefreshLevelsList(out levelOptions, out selectedValue, out levels, out gameLevelData);
        }
    }
 public static void OpenMenu()
 {
     window = (DeleteGameLevel)GetWindow(typeof(DeleteGameLevel), false, "Delete Level");
     WindowRefresh.RefreshLevelsList(out window.levelOptions, out window.selectedValue, out window.levels, out window.gameLevelData);
 }