public void IsUserScoreShownOnLeaderboards()
    {
        ITask <int> task = rankingsClient.GetRankingSwitchStatus();

        task.AddOnSuccessListener((result) =>
        {
            Debug.Log("[HMS GAMES] isUserScoreShownOnLeaderboards SUCCESS" + result);
            OnIsUserScoreShownOnLeaderboardsSuccess?.Invoke(result);
        }).AddOnFailureListener((exception) =>
        {
            Debug.Log("[HMS GAMES] isUserScoreShownOnLeaderboards ERROR");
            OnIsUserScoreShownOnLeaderboardsFailure?.Invoke(exception);
        });
    }
        public void IsUserScoreShownOnLeaderboards()
        {
            ITask <int> task = rankingsClient.GetRankingSwitchStatus();

            task.AddOnSuccessListener((result) =>
            {
                Debug.Log("[HMSLeaderboardManager] isUserScoreShownOnLeaderboards SUCCESS" + result);
                OnIsUserScoreShownOnLeaderboardsSuccess?.Invoke(result);
            }).AddOnFailureListener((exception) =>
            {
                Debug.LogError("[HMSLeaderboardManager]: IsUserScoreShownOnLeaderboards failed. CauseMessage: " + exception.WrappedCauseMessage + ", ExceptionMessage: " + exception.WrappedExceptionMessage);
                OnIsUserScoreShownOnLeaderboardsFailure?.Invoke(exception);
            });
        }