/
31.1. Google Game SDK Example
31.1. Google Game SDK Example
31.1. Google Game SDK Example (android only)
- 1 31.1. Google Game SDK Example (android only)
- 1.1 31.1.1. Check if the user is logged into Google Game
- 1.2 31.1.2. Google game login
- 1.3 31.1.3. Google game logout
- 1.4 31.1.4. Complete achievements
- 1.5 31.1.5. Display achievements
- 1.6 31.1.6. Incremental achievements
- 1.7 31.1.7. Set achievement completion level
- 1.8 31.1.8. Show the Achievements screen
- 1.9 31.1.9. Set a score in the Leaderboard
- 1.10 31.1.10. Show the Leaderboard screen
31.1.1. Check if the user is logged into Google Game
Unity
using Kakaogame.SDK;
// Whether or not the user is logged into Google Game
bool isLoggedIn = KGGoogleGames.isLoggedIn; |
Android
// Whether or not the user is logged into Google Game
boolean isLoggedIn = KGGoogleGames.isLoggedIn(); |
Unreal
#include "KakaoGame.h"
// Whether or not the user is logged into Google Game
bool isLoggedIn = FKGGoogleGames::IsLoggedIn(); |
31.1.2. Google game login
Unity
Android
Unreal
31.1.3. Google game logout
Unity
Android
Unreal
31.1.4. Complete achievements
Unity
Android
Unreal
31.1.5. Display achievements
Unity
Android
Unreal
31.1.6. Incremental achievements
Unity
Android
Unreal
31.1.7. Set achievement completion level
This is an example of setting up a step-like achievement.
Unity
Android
Unreal
31.1.8. Show the Achievements screen
This is an example showing achievement screen.
Unity
Android
Unreal
31.1.9. Set a score in the Leaderboard
This is an example of setting a score in Google Game Leaderboard.
Unity
Android
Unreal
31.1.10. Show the Leaderboard screen
This is an example showing leaderboard screen.
Unity
Android
Unreal
Related content
31.1 구글 게임 SDK 예제
31.1 구글 게임 SDK 예제
More like this
31. Google Game (korea only)
31. Google Game (korea only)
More like this
Login SDK Example
Login SDK Example
More like this
3.1 로그아웃 SDK 예제
3.1 로그아웃 SDK 예제
More like this
4.1. 탈퇴 SDK 예제
4.1. 탈퇴 SDK 예제
More like this