public void OpenMenuOption(int selection) { interactable = false; PauseMenuOptions menu_selection = (PauseMenuOptions)menu_options[selection]; switch (menu_selection) { case PauseMenuOptions.Pokedex: break; case PauseMenuOptions.Pokemon: open_menu = ui_manager.ShowPokemonMenu(); break; case PauseMenuOptions.Bag: break; case PauseMenuOptions.TrainerCard: break; case PauseMenuOptions.Save: break; case PauseMenuOptions.Options: open_menu = ui_manager.ShowOptionsMenu(); break; case PauseMenuOptions.Exit: current_selection = 0; CloseMenu(); break; default: break; } }