Can you please clarify the question? Virtual currencies for player accounts are stored as integer values, which is why many of the VC API calls take the amount as an Int32.
Give me the API calls to get and set the currency in public int in C# for Unity
https://api.playfab.com/documentation/server/method/AddUserVirtualCurrency
https://api.playfab.com/documentation/server/method/SubtractUserVirtualCurrency
All calls in the Unity SDK are made with the same basic pattern - have a look at this tutorial for more info: https://api.playfab.com/docs/getting-started/unity-getting-started
2 People are following this question.