Esempio n. 1
0
    // Update is called once per frame
    void Update()
    {
        if (nom == 1 && (bac_s == true || bac_es == true))
        {
            save.Set_player(name_player.text);

            if (bac_s == true)//0:  s et 1: es/sti2d
            {
                save.Set_bac(0);
            }
            else
            {
                save.Set_bac(1);
            }

            save.Save_Parameters();
            button.interactable = true;
        }
    }