Google Play Games

Non-Visible component
Category Requires Version
Google API 19, Android 4.4 - 4.4.4 KitKat 1

Overview

A non-visible component that enables game user authentication, leaderboards, and more.
Powered by the Google Play Games service.

Permissions

Events

Got Player

Got player info

Params
name Text
id Text
level Number
xp Number

Signed In

User signed in.

Params
success Boolean

Signed Out

User signed out.

Methods

Get Player

Get the current player

Increment Achievement

Increment an achievement.

Params
achievement Id Text
by Number

Is Signed In

Returns: Boolean

Is user signed in?

Show Achievements

Shows Achievement.

Show Leaderboard

Shows Leaderboard.

Params
leaderboard Id Text

Sign In

Sign in the user. useLastAccount, true: use the last signed in account if possible, false: open a screen to choose for an account

Params
use Last Account Boolean

Sign Out

Sign out the user.

Submit Score

Submits user score to leaderboard.

Params
leaderboard Id Text
score Number

Unlock Achievements

Unlock an achievement.

Params
achievement Id Text

Properties

Google Play Games App ID

Text ➖ Write - Designer


Last update: January 27, 2020