Пример #1
0
 private void OnLoginSuccess(LoginResult result)
 {
     Debug.Log("Login success");
     PlayerData.RefreshUserStatistics(() => CheckIfEverythingIsLoaded(userStats: true));
     PlayerData.RefreshUserData(() => CheckIfEverythingIsLoaded(userData: true));
     AnimalData.RefreshAnimalData(() => CheckIfEverythingIsLoaded(animalData: true));
     PlayerData.RefreshAccountData(() => CheckIfEverythingIsLoaded(accountData: true));
 }