Achievement
API References for Achievement Service
Explore the list of API functions available in Unity for managing achievement, including detailed descriptions and usage examples.
To use service functions, first ensure that the service is activated before. You can see services by opening "Service Hub" From the game's dashboard header.
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