Exemplo n.º 1
0
 public void UpdateLeaderboard(float currentTime, float totalTime, bool results)
 {
     if (_leaderboardViewController != null)
     {
         _leaderboardViewController.SetLeaderboard();
         _leaderboardViewController.SetTimer((int)(totalTime - currentTime), results);
     }
 }
 public void UpdateLeaderboard(List <PlayerInfo> playerInfos, float currentTime, float totalTime, bool results)
 {
     if (_leaderboardViewController != null)
     {
         _leaderboardViewController.SetLeaderboard(playerInfos);
         _leaderboardViewController.SetTimer(totalTime - currentTime, results);
     }
 }