Skip to content
On this page

Achievements (Class)

Manages retrieving and displaying achievements for a game.

Fields

FieldDescription
AchievementsCurrentUser currentUserRepresents the currently logged-in user.

Methods

ShowDialog (Overloaded)

Displays the achievements dialog.

ParameterDescription
------
ParameterDescription
System.Action onClosedCallback to execute when the dialog is closed.
ParameterDescription
System.Action<string> onErrorCallback to execute in case of an error.
ParameterDescription
System.Action onClosedCallback to execute when the dialog is closed.
System.Action<string> onErrorCallback to execute in case of an error.

GetAll

Retrieves all achievements for the game.

ParameterDescription
System.Action<List<Achievement>> onSuccessCallback to execute upon successful retrieval of all achievements.
System.Action<string> onErrorCallback to execute in case of an error.