hi all
How can I increase player data with only calling the cloud scripts once?
Is it possible to Update Player data by a specific amount without first getting them?
hi all
How can I increase player data with only calling the cloud scripts once?
Is it possible to Update Player data by a specific amount without first getting them?
If you want to increase/decrease a number, we recommend you use UpdatePlayerStatistics. In the Leaderboard, you can set Aggregation method to Sum. By using it, you don't have to get it first and you can increase/decrease player data with only calling the cloud scripts once. For more detail, you can refer to Writing custom CloudScript.
26 People are following this question.