Beispiel #1
0
    public void Select_this_profile(int profile_slot)
    {
        if (profile_slot != my_game_master.current_profile_selected)
        {
            if (!my_game_master.infinite_lives)
            {
                my_game_master.Check_if_interrupt_countdown();
            }

            my_game_master.current_profile_selected = profile_slot;
            PlayerPrefs.SetInt("last_profile_used", my_game_master.current_profile_selected);
            my_manage_menu_uGUI.update_world_and_stage_screen = true;
            my_game_master.Load(my_game_master.current_profile_selected);
            Show_current_slot_selected();
        }
    }