Skip to content

Google Play Games

Non-Visible component
Category Requires Version
Google API 21, Android 5.0 Lollipop 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

Param Type
name Text
id Text
level Number
xp Number

Signed In

User signed in.

Param Type
success Boolean

Signed Out

User signed out.

Methods

Get Player

Get the current player

Increment Achievement

Increment an achievement.

Param Type
achievement Id Text
by Number

Is Signed In

Returns: Boolean

Is user signed in?

Show Achievements

Shows Achievement.

Show Leaderboard

Shows Leaderboard.

Param Type
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

Param Type
use Last Account Boolean

Sign Out

Sign out the user.

Submit Score

Submits user score to leaderboard.

Param Type
leaderboard Id Text
score Number

Unlock Achievements

Unlock an achievement.

Param Type
achievement Id Text

Properties

Google Play Games App ID

Text ➖ Write - Designer

Property for GooglePlayGamesAppId