/// <summary> /// Executes when the user hits OK on the victory screen /// </summary> public void VictoryOK() { GameControl.gameStateControlInstance.GetComponent <GameStateControl>().currentState = GameControl.victoryState.GetComponent <VictoryState>(); GameControl.gameStateControlInstance.GetComponent <GameStateControl>().currentState.Initialize(); GUIRoutines.RemoveAllGUIs(); }