private void Start() { this.leaderboard = FindObjectOfType(); leaderboard.FirebaseInitialized += OnInitialized; leaderboard.TopScoresUpdated += UpdateScoreDisplay; leaderboard.UserScoreUpdated += UpdateUserScoreDisplay; leaderboard.ScoreAdded += ScoreAdded; MessageText.text = "Connecting to Leaderboard..."; }
public void AddScore(string userId, int score) { leaderboard.AddScore(userId, score); }
Demonstrate your proficiency to design, build and manage solutions on Google Cloud Platform.