I'm new on this playfab platform.
I'm planning on using playfab and photon for my unity game.
I already read the documentation for CRUD player data and cloudscript.
I saw that we can call the function like
PlayFabClientAPI.GetUserData in Unity to Get user data.
And on the other hand, we can use CloudScript to get the user data.
But it's harder, cause we need to set the script first in playfab server and execute it from client.
So maybe someone can explain me when and why we use CloudScript?