tostring tmpro unity

62

tostring tmpro unity -

public void loadData()
    {
        FirebaseDatabase.DefaultInstance.GetReference("userlist").ValueChanged += Script_ValueChanged;
    }

    private void Script_ValueChanged(object sender, ValueChangedEventArgs e)
    {
        scoreboard.text = e.Snapshot.Child(LoadingScreen.userID).Child("userScore").GetValue(true).ToString();
    }

Comments

Submit
0 Comments