trophy-starAchievement

API References for Achievement Service

Explore the list of API functions available in Unity for managing achievement, including detailed descriptions and usage examples.

circle-exclamation

Get Available Achievementsarrow-up-right

Retrieves a list of achievements for the current user based on the provided parameters.

var achievements = await ServiceHub.Services.Achievement.GetAchievements(new GetAchievementParams{});

Unlock an achievementarrow-up-right

Unlocks an achievement for the current user based on the provided parameters.

var achievements = await ServiceHub.Services.Achievement.UnlockAchievement(new UnlockAchievementParams
{
    AchievementId = 0,
    StepId = 0
});

Last updated