public static void AwardTrophy(int trophyIndex) { if (!trophiesAvailable) { return; } Trophies.UnlockTrophyRequest request = new Trophies.UnlockTrophyRequest(); request.TrophyId = trophyIndex; request.UserId = loggedInUser.userId; Trophies.UnlockTrophy(request, new Core.EmptyResponse()); }