This section shows you how to integrate the 6Labs SDK into your iOS and Android apps on Unity.
The 6Labs SDK is included as a Unity package file SixLabsSDK-1.0.0.unitypackage. Add the module to your Unity project:
SixLabsSDK-1.0.0.unitypackage from your system.Use the StartCapture() method to start capturing gameplay, as illustrated below:
SixLabsSDK.Instance.StartCapture(
inGameId: "<optional_player_in_game_id>",
developerPayload: "<optional_developer_payload_here>"
);
The following is the method reference for the StartCapture() method.
public void StartCapture(string inGameId = null, string developerPayload = null)
| Parameter | Type | Required | Description |
|---|---|---|---|
inGameId |
string |
No | An optional user identifier within the game. If not passed, defaults to an empty string. |
developerPayload |
string |
No | An Optional developer-defined metadata associated with the session. |
Document Rev. 1.0