Exemple #1
0
        //resets the player progress on all saved scenarios:
        public void Reset()
        {
            MissionSaveLoad.ClearSavedScenarios();

            for (int i = 1; i < scenarios.Length; i++) //go through all the scenario UI elements (except the first one)
            //make the buttons interactable so that none of them can be loaded
            {
                scenarioUIList[i].Refresh(scenarios[i].source.GetName(), scenarios[i].source.GetDescription(), false);
            }
        }
Exemple #2
0
        //resets the player progress on all saved scenarios:
        public void Reset()
        {
            MissionSaveLoad.ClearSavedScenarios();

            RefreshUI(false); //update the UI status of the scenarios.
        }