Ejemplo n.º 1
0
    public override void OnInit()
    {
        GameCenter.Authenticate();
        int sound = PlayerPrefs.GetInt("Sound");

        if (sound == 2 || sound == 0)
        {
            data.sound = true;
        }
        else
        {
            data.sound = false;
        }
    }