Quantcast
Channel: iOS and tvOS
Viewing all articles
Browse latest Browse all 10823

Social.ReportProgress

$
0
0
Hi.
When i call Social.ReportProgress many times per second (8 for example), for different achievements, i receive all callbacks for last sending achievement...

This is not really code, but part of main logic:

Code (CSharp):
  1. class Achievement
  2. {
  3.    public string Id;
  4.    public double Progress;
  5.    public void Callback(bool result)
  6.    {
  7.        Debug.Log("Achievement " + Id + " updated");
  8.    }
  9. }
  10.  
  11. List<Achievements> achievs; // contains 8 achievements
  12.  
  13. foreach(a in achievs)
  14. {...
Social.ReportProgress

Viewing all articles
Browse latest Browse all 10823

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>