CloudCode
var allRandomComponents = server.GetUserInternalData({ PlayFabId : currentPlayerId, }) return allRandomComponents.Data;
Unity/C#
UserDataRecord[] test = (UserDataRecord[])success.FunctionResult; foreach (UserDataRecord item in test) { Debug.Log(item.Value); }
I'm trying to return the data from the CloudCode and parse it on the client.