question

abdurrahman-1999 avatar image
abdurrahman-1999 asked

Global integer

Hello, i am new to Playfab in Unity. In my game, player collecting waters. I want to create an integer which all players can increase it with donating collected water. it will work like a pool system. Should i use TitleData or CloudScript? Can someone help me?

Player Data
10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

·
Xiao Zha avatar image
Xiao Zha answered

From your description, it seems like you need a global variable for all players to update. Although Title Data can be used to store global data. But it’s not suitable for your situation, as it’s not designed for frequent changes. For your case, you may need to use an external database to achieve this function.

10 |1200

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.