Using 6Labs SDK

This section shows you how to integrate the 6Labs SDK into your iOS and Android apps on Unity.

1. Download and Import the Module

The 6Labs SDK is included as a Unity package file SixLabsSDK-1.0.0.unitypackage. Add the module to your Unity project:

  1. Download the package containing the latest version of 6Labs SDK for Unity.
  2. Now, import the package into your Unity project. To do this:
    • Click on Assets > Import Package > Custom Package.
    • Select SixLabsSDK-1.0.0.unitypackage from your system.
    • Click on Import.

2. Start Gameplay Capture

Use the StartCapture() method to start capturing gameplay, as illustrated below:

Important Information

  • User permission is required to record gameplay, and the game developer must obtain it before starting the capture.
  • Developers can highlight clear benefits, such as AI gameplay highlights and personalised coaching reports, to drive user consent.
 SixLabsSDK.Instance.StartCapture(
     inGameId: "<optional_player_in_game_id>",
     developerPayload: "<optional_developer_payload_here>"
 );

Reference

The following is the method reference for the StartCapture() method.

Method Signature

 public void StartCapture(string inGameId = null, string developerPayload = null)

Parameters

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.
×

Table of Contents

Using 6Labs SDK

Table of Contents

Document Rev. 1.0

Text copied to clipboard
Link copied to clipbord
Questions? Please reach out to us at dev-support@now.gg