public IEnumerator coroutineScore() { try { PlayerPrefsManager.AddScore(this.score.ToString()); ManagerDB.AddScoreToApi(PlayerPrefs.GetString(PlayerPrefsString.NAME), this.score); } catch (Exception) { } yield return(null); }
public IEnumerator AddScoreToDB() { ManagerDB.debugOption = true; ManagerDB.AddScoreToApi("test10", -1); return(null); }