Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //pseudo code!!!!!!!!
- private string projectLink = "https://qqweb-b75ae-default-rtdb.firebaseio.com";
- public string UserDataLink => $"{projectLink}/users/{userLocalId}/";
- private void CollectPlayerData(Action<bool> _callBack)
- {
- StartCoroutine(WebRequests.Instance.Get(UserDataLink + "/.json", (_result) =>
- {
- Debug.Log("Got data: "+_result);
- _callBack?.Invoke(true);
- }, (_) => { _callBack?.Invoke(false); }));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement