I have added Google play games services to my android app in Unity3d. I am trying to add quests, but am having issues claiming the reward. In the developer console, i have uploaded this reward data file:
{ "Coins" : 10 }
In Unity, I am accessing this by using
System.Text.Encoding.UTF8.GetString(quest.Milestone.CompletionRewardData)
Which returns: { "Coins" : 10 }
My question is, how do i then turn the variable coins into a c# variable for use in my app?
Any help is greatly appreciated, thanks.