목차 영역 | |
---|---|
|
...
Initialization and Status Change Event Processing
App Event Method Initialization (iOS Only)
발췌 | ||
---|---|---|
| ||
This process initializes the SDK to handle AppDelegate methods. It must be called within the AppDelegate class. |
SDK Initialization
발췌 | ||
---|---|---|
| ||
This process sets and initializes the app information used by the SDK. It must be called before any other API when the game starts. |
Windows -
Start
발췌 | ||
---|---|---|
| ||
When a game is started, it must call the Start function to notify the Kakao Game SDK that it has been started. UI functions such as platform announcements, update news, and term agreements are performed when the Start function of the Kakao Game SDK is called. If there exists a prior user login record, the automatic login function is also performed, and the result is sent through the callback function inputted in the game when the method is called. Therefore, the game can use the results to decide whether to authenticate the user first or whether to resume a previous game. |
Unity - https://kakaogames.atlassian.net/wiki/spaces/KS4GFC/pages/788926851/EN_Unity+SDK+API#Start
Unreal - https://kakaogames.atlassian.net/wiki/spaces/KS4GFC/pages/794066945/EN_Unreal+SDK+API#Start
Pause
발췌 | ||
---|---|---|
| ||
If the game is moved to the background, the game must call the Pause API to notify the Kakao Game SDK that it has become inactive. When the Pause API is called, the Kakao Game SDK disconnects the connected session and stops periodically sending heartbeats to prevent battery consumption. |
Unity - https://kakaogames.atlassian.net/wiki/spaces/KS4GFC/pages/788926851/EN_Unity+SDK+API#Pause
Unreal - https://kakaogames.atlassian.net/wiki/spaces/KS4GFC/pages/794066945/EN_Unreal+SDK+API#Pause
Resume
발췌 | ||
---|---|---|
| ||
If the game is moved back to the foreground from the background, it must call the Resume API to notify the Kakao Game SDK that it has become active. The Kakao Game SDK checks whether the authentication has expired when the Resume method is called and restores the session depending on the check. The result is then sent through the callback function inputted in the game when the method is called. The game can use the results to decide whether to authenticate the user again or whether to resume a previous game. |
Unity - https://kakaogames.atlassian.net/wiki/spaces/KS4GFC/pages/788926851/EN_Unity+SDK+API#Resume
Unreal - https://kakaogames.atlassian.net/wiki/spaces/KS4GFC/pages/794066945/EN_Unreal+SDK+API#Resume
Setting Up Auto Login in a Windows Environment
발췌 | ||
---|---|---|
| ||
This feature is supported in the Windows environment. If you do not use the default login UI provided by the SDK and instead implement your own login UI, the SDK offers a feature to set up auto login.
|
Windows -
Adding a new Intent receive setting
발췌 | ||
---|---|---|
| ||
This setting is required if you are using the Android SDK directly. Add a callback inside MainActivity of the game as shown below. If you do not add this setting, there will be a problem checking your game's funnel through 'game-play' page on KakaoTalk. Please be sure to add. And when using Unity, set the corresponding MainActivity as the main activity in Unity Assets / Plugins / Android / AndroidManifest.xml file. (If you are using the KakaoGames Unity or Unreal SDK, this setting is configured automatically, so no additional setup is required.) |
...