Install the SDK
Installing the LootLocker SDK in your project is very straightforward and flexible with different ways to set it up depending on your personal preferences. Once you have downloaded the SDK, follow these steps to install the LootLocker SDK into your Unity project.
The Unity SDK can be installed through the Unity Package Manager or directly by importing the package into your Unity scene. We recommend using the Unity Package Manager.

Install from Unity Package Manager (Recommended)

Install Using Git

Before you start, make sure you have Git installed on your computer.
Open the Unity editor and navigate to the Package Manager by clicking on Window and then Package Manager.
Click on the + at the top of the Package Manager window and select Add package from git URL.
Enter the URL below into the text box and click Add.
1
https://github.com/LootLocker/unity-sdk.git
Copied!
The SDK is now installed in your project, and you are ready to configure the SDK and make your first API calls.

Install Using the Entire Repo

If you do not have git installed on your computer you can install the SDK by downloading the entire repository and copying it into the packages folder of your project.
To download the entire repo, by select Code and Download Zip from the LootLocker Unity SDK GitHub page.

Install from Git Release

Double-click on the SDK package or drag the package into your Unity scene to import it.
If you are importing the package into an already existing project, make sure you untick the project settings so your settings are not overwritten.
If you already have the package JsonDotNet or NewtonJson from the Unity Asset Store or Github, untick the Dependencies folder.
Click Import to complete the SDK installation.
The SDK is now installed in your project, and you are ready to configure the SDK and make your first API calls.
Last modified 7mo ago