Esempio n. 1
0
    public void FemaleCharacterShown()
    {
        SoundControl.PlaySFX(GlobalData.SFX_Paths[0], false, true, true);

        PlayerData.picked_playerid = 1;
        GirlCharacter.GetComponent <Image>().color = new Color(255f, 255f, 255f, 255f);
        BoyCharacter.GetComponent <Image>().color  = new Color(0.7647f, 0.7647f, 0.7647f, 255f);
        string saveddata = JSONMaker.MakeSaveFile();

        PlayerPrefs.SetString("PlayerSavedData", saveddata);
    }