Sign-In
Google Play Games Services Sign-In is the first and mandatory step required before using any other features provided by this plugin.
Before calling any Google Play Games Services API, the player must be signed in. If the user is not signed in, all features such as achievements, leaderboards, events, player profiles, and saved games will not work.
The sign-in process must be triggered at least once by calling the Sign In node. During the first sign-in, Google Play may display a native UI asking the user to choose or confirm an account.
After a successful first sign-in, Google Play Games Services will automatically restore the signed-in state on subsequent app launches without requiring any additional developer actions.
Sign-In API Reference
| Node | Parameters | Callbacks / Return | Description |
|---|---|---|---|
| Sign In | – | On Success: Called when the user is successfully signed in. On Failure (Error Message): Called if the sign-in process fails. |
Initiates the Google Play Games Services sign-in flow. This may display a native UI if user interaction is required. |
| Is Signed In | – | On Result (Result): Returns a boolean indicating whether the user is currently signed in. | Checks whether the user is currently signed in to Google Play Games Services. |