cancel
Showing results for 
Search instead for 
Did you mean: 

Achievement Help

johnBeaty
Honored Guest
I must be doing something totally wrong but when I can't get any information calling this, why? I've looked at this link and borrowed what I thought I needed: https://developer.oculus.com/documentation/platform/latest/concepts/dg-achievements/

private const string test = "test";

public void CheckAchievements()
{
       Achievements.GetProgressByName(new string[] { test }).OnComplete(
(Message<AchievementProgressList> msg) =>
      {
             foreach (var achievement in msg.Data)
             {
                     if(achievement.IsUnlocked)
                     {
                              Debug.Log("true");
                      }else
                       {
                              Debug.Log("false");
                       }
              }

        }
);
}
0 REPLIES 0