private void Awake() { if (instance == null) { instance = this; } }
public override void ShowLeaderboardUI(string _leaderboardID, eLeaderboardTimeScope _timeScope, GameServiceViewClosed _onCompletion) { base.ShowLeaderboardUI(_leaderboardID, _timeScope, _onCompletion); if (string.IsNullOrEmpty(_leaderboardID)) { return; } // Check if valid account if (!VerifyUser()) { return; } LeaderboardsManager.ShowUI(_leaderboardID, _timeScope); }