gpgs.achievements.unlock()

Type String
Return value none
Revision Release 2022.3683
Keywords Google Play Games Services, game network, gpgs
See also gpgs2.achievements.*
gpgs2.*

Overview

Unlocks an achievement.

Syntax

gpgs.achievements.unlock(params)
params (required)

Table. Contains parameters — see the next section for details.

Parameter Reference

achievementId (required)

String. Achievement to unlock.

listener (optional)

Listener. Receives unlock event.