Retrieve Data from Realtime Database with Action Callback
问题 I am trying to receive the JSON value from the Realtime Database of Firebase using Unity. I do the following: FirebaseDatabase.DefaultInstance .GetReference("Leaders").OrderByChild("score").GetValueAsync().ContinueWith(task => { if (task.IsFaulted) { Debug.LogError("error in reading LeaderBoard"); return; } else if (task.IsCompleted) { Debug.Log("Received values for Leaders."); string JsonLeaderBaord = task.Result.GetRawJsonValue(); callback(JsonLeaderBaord); } } }); Trying to Read the