Achievement

API References for Achievement Service

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

Get Available Achievements

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 achievement

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