Beispiel #1
0
    public void DeleteGameProgressData()
    {
        condicionsScriptable = Resources.Load <TotesCondicionsScriptable>("TotesCondicions");

        foreach (Condicio condicio in condicionsScriptable.condicions)
        {
            condicio.estat = false;
        }
        EraseJsonData.instance.EsborrarJsonData();

        PlayerPrefs.DeleteAll();
    }
 private void Awake()
 {
     condicionsScriptable = Resources.Load <TotesCondicionsScriptable>("TotesCondicions");
     instance             = this;
 }