Skip to content

lootlocker/unity-sdk

Repository files navigation

LootLocker Unity SDK

LootLocker

AboutInstallationConfigurationUpdatingSupportDevelopment


About

LootLocker is a game backend-as-a-service that unlocks cross-platform systems so you can build, ship, and run your best games.

Full documentation is available here https://docs.lootlocker.io/getting-started/unity-tutorials

Installation

Using Git

Before you start, Git should be installed on your computer, Mac users should have this automatically, for windows you can use for example Git for Windows. Quick note: You might need to restart Unity and/or your computer before Unity recognizes you’ve installed Git.

  • In the Unity Editor go to Window > Package Manager
  • Click the + at the top left of the Package Manager window
  • Select Add package from git URL...
  • Paste the following URL https://github.com/LootLocker/unity-sdk.git and click Add

Using the Entire Repo

  • Download the code from here by choosing Code and then Download Zip
  • Unzip the files and place them in a folder in the Packages folder of your Unity Project

Configuration

For a full walkthrough of how to configure the SDK, please see our Guide to Configuring the Unity SDK

For a short version

  • Log on to the LootLocker management console and find your Game Settings.
  • Find your Game Key in the API section of the settings
  • Open Edit > Project Settings in the Unity Editor and find the LootLocker SDK tab.
  • Input Api Key using the Game Key from the LootLocker console page

Updating

If you installed the SDK using the Git URL you can simply open the package manager and re-paste the Git URL. This should force a download of the latest code.

Support

If you have any issues or just wanna chat you can reach us on our Discord Server

Development

Testing the SDK

Status: Test SDK with Unity

There is a Test Suite for the SDK, but it is in an external repo to keep the size of this one down. It is run automatically on any pull requests towards or updates to main. You can also run it locally, just follow the steps in the test repo.