Register Login

Install the SDK

Add the Unity package and start it once.

Step 2. Start the SDK

Add the Unity package to your game. Start it once with R3FTOClient.InitializeAsync and an R3FTOConfig:

  • GameId: your R3FTO game ID.
  • Environment: R3FTOEnvironment.Test or R3FTOEnvironment.Production. Always set it. The SDK never guesses it from a build type or a host name.
  • BaseAddress: the R3FTO API address.
  • Platform: R3FTOPlatform.Steam.
  • LocalStore: where the SDK keeps its install record, for example R3FTOFileLocalStore with Application.persistentDataPath.
  • PlatformEvidence: R3FTOSteamLaunchEvidenceSource, given a function that returns your game's launch command line. The SDK reads only the R3FTO token from it, never Steam's campaign tags.

Starting never blocks your game. When R3FTO cannot be reached, your game still starts.

Documentation

Back to site