public void ShowOptionButtonsCommon()
        {
            //Debug.Log("LoadGamePanel.ShowLoadButtonsCommon()");
            ClearOptionButtons();

            foreach (ClassSpecialization classSpecialization in SystemClassSpecializationManager.MyInstance.GetResourceList())
            {
                //Debug.Log("LoadGamePanel.ShowLoadButtonsCommon(): setting a button with saved game data");
                if (NewGamePanel.MyInstance.CharacterClass != null &&
                    classSpecialization.CharacterClasses != null &&
                    classSpecialization.CharacterClasses.Contains(NewGamePanel.MyInstance.CharacterClass) &&
                    classSpecialization.NewGameOption == true)
                {
                    GameObject go = Instantiate(buttonPrefab, buttonArea.transform);
                    NewGameClassSpecializationButton optionButton = go.GetComponent <NewGameClassSpecializationButton>();
                    optionButton.AddClassSpecialization(classSpecialization);
                    optionButtons.Add(optionButton);
                }
            }
            if (optionButtons.Count > 0)
            {
                optionButtons[0].Select();
            }
            // that should not be needed

            /*
             * else {
             *  NewGamePanel.MyInstance.ShowClassSpecialization(null);
             * }
             */
        }
        public void ShowClassSpecialization(NewGameClassSpecializationButton newGameClassSpecializationButton)
        {
            //Debug.Log("LoadGamePanel.ShowSavedGame()");
            if (selectedClassSpecializationButton != null && selectedClassSpecializationButton != newGameClassSpecializationButton)
            {
                selectedClassSpecializationButton.DeSelect();
            }

            selectedClassSpecializationButton = newGameClassSpecializationButton;
            if (newGameClassSpecializationButton == null)
            {
                classSpecialization = null;
            }
            else
            {
                classSpecialization = newGameClassSpecializationButton.ClassSpecialization;
            }
            ShowAbilityRewards();
            ShowTraitRewards();
        }