I am currently trying to store 2 statistics to every new user. On the tutorial provided on this link:
It clearly shows how is it possible to store multiple statistics. Sadly though, it only shows how to retrieve all player statistics at once using the following code:
result => Debug.Log("Strength retrieved"),
error => Debug.LogError(error.GenerateErrorReport())
My question is: How can I retrieve the value of a specific key from the statistics? or even better, How to retrieve them all and compare a specific key name and return its value (just like how you can get a specific key from PlayerData using this code: if (result.Data.ContainsKey("Coin")) )? I noticed that Statistics has: if (result.Statistics.Contains()) but it takes a type of item instead of a string.
Any help is very much appreciated.