Game Developer API
  • Introduction
  • Guidelines
  • Concepts
    • Game Load + Unload
    • Save + Load State
    • Start Game
    • Pause + Resume
    • Player Progress
    • Language + Translation
    • Text to Speech (TTS)
    • Audio
    • Questions + Answers
      • Question Overlay (V4)
      • Question List (V3)
  • Unity
    • Download SDK V5
    • API V5
      • Deprecated Behavior
    • Example Project
    • Project Requirements and Settings
    • Build and Run
    • Changelog
  • Javascript
    • JS API
      • Deprecated Behavior
  • Construct 3
  • Construct 2
  • Testing
  • Submission
  • ATTN: Note on Updating Games
Powered by GitBook
On this page
  • LOL SDK V5.4 (Unity 2022): Download Latest Release
  • LOL SDK V5.3 (Unity 2020):
  • LOL SDK V5.2.0: (Unity 2019)

Was this helpful?

  1. Unity

Download SDK V5

PreviousUnityNextAPI V5

Last updated 9 days ago

Was this helpful?

LOL SDK V5.4 (Unity 2022): Download Latest Release

The lol-unity-sdk-v5_4-2022-LTS.unitypackage contains all of the resources you need for developing a game for the Legends of Learning platform.

Instructions:

  1. If you are upgrading from a previous version of the SDK then you should delete it from your project before proceeding.

  2. Download the unitypackage file from the link above

  3. Import into a new or existing Unity project using the top menu bar in your Unity project: Assets->Import Package->Custom Package.

  4. Get familiar with the latest API features in the LegendsOfLearning-Example folder. You can delete this folder when you no longer need it.

The Unity SDK includes the following files:

  • LOLSDK.dll: contains LOLSDK singleton for all API calls and subscribe events.

  • LoLWebGL.cs: Externs C# interface to JavaScript in WebGL build.

  • LoLWebGL.jslib: Provides in-browser Javascript functionality

  • WebGLTemplate (lol-template): When building your game for WebGL you need to use the LoL WebGL template contained in the package file. The folder /Assets/WebGLTemplates/lol-template contains a basic index.html for the WebGL build.

  • Demo: subfolder containing an implementation of the SDK.

To use the SDK in your Unity C# code, you must use the SDK namespace.

using LoLSDK;
  • We have updated the Loader example to prevent race conditions with async start and language json (common new dev pitfall)

External Resources

Previous Versions

LOL SDK V5.3 (Unity 2020):

  • supports Unity 2019.4, minimum release 2019.4.16f1

(Unity 2019)

WebGL Memory
Unity Test Tools
LOL SDK V5.2.0:
example project
3MB
lol-unity-sdk-v5_4-2022-LTS.unitypackage
Must use Unity 2022, minimum release 2022.3.5 LTS or higher supported version
4MB
lol-unity-sdk-v5_3-2020-LTS.unitypackage
Must use Unity 2020, minimum release 2020.3.33 LTS or higher supported version