Пример #1
0
    public IEnumerator coroutineScore()
    {
        try
        {
            PlayerPrefsManager.AddScore(this.score.ToString());


            ManagerDB.AddScoreToApi(PlayerPrefs.GetString(PlayerPrefsString.NAME), this.score);
        }
        catch (Exception)
        {
        }
        yield return(null);
    }
Пример #2
0
 public IEnumerator AddScoreToDB()
 {
     ManagerDB.debugOption = true;
     ManagerDB.AddScoreToApi("test10", -1);
     return(null);
 }