incrementAchievement

fun incrementAchievement(achievementId: String, amount: Int)

Use this method to increment a given achievement in the given amount. For normal achievements, use the unlockAchievement method instead.

The method emits the com.jacobibanez.plugin.android.godotplaygameservices.signals.AchievementsSignals.achievementUnlocked signal.

Parameters

achievementId

The achievement id.

amount

The number of steps to increment by. Must be greater than 0.