public void ShowLeaderboards() { rankingsClient.ShowTotalRankings(() => { Debug.Log("[HMS GAMES] ShowLeaderboards SUCCESS"); OnShowLeaderboardsSuccess?.Invoke(); }, (exception) => { Debug.Log("[HMS GAMES] ShowLeaderboards ERROR"); OnShowLeaderboardsFailure?.Invoke(exception); }); }
public void ShowLeaderboards() { rankingsClient.ShowTotalRankings(() => { Debug.Log("[HMSLeaderboardManager] ShowLeaderboards SUCCESS"); OnShowLeaderboardsSuccess?.Invoke(); }, (exception) => { Debug.LogError("[HMSLeaderboardManager]: ShowLeaderboards failed. CauseMessage: " + exception.WrappedCauseMessage + ", ExceptionMessage: " + exception.WrappedExceptionMessage); OnShowLeaderboardsFailure?.Invoke(exception); }); }