/// <summary> /// Submits score for the leaderboard with provided id. /// </summary> /// <param name="leaderboardId">Leaderboard id.</param> /// <param name="score">Score to submit.</param> /// <param name="onSuccess">Action called if operation was successful. New user leaderboard rank is passed as parameter. Optional.</param> /// <param name="onFailure">Action called if operation failed to complete. Optional.</param> public void SubmitLeaderboardScore(string leaderboardId, int score, Action <int> onSuccess = null, Action onFailure = null) { Check.Argument.IsStrNotNullOrEmpty(leaderboardId, "leaderboardId", "Leaderboard id can't be null or empty"); getSocialImpl.SubmitLeaderboardScore(leaderboardId, score, onSuccess, onFailure); }