Links

Getting Started

This page will ensure you have the proper setup for developing your very own Unity projects for the original LumePad.

What dev machines does the Unity SDK run on?

  • The Leia Unity SDK runs in Unity 2017 LTS (2017.4.40f1), 2018 LTS (2018.4.23f1), 2019 LTS (2019.4.3f1) & 2020.2.
  • Development can be done from within Unity on a Mac, Linux, or Windows machine

Which LitByLeia™ devices does the Unity SDK support?

  • Lumepad
  • Devs should expect their products to be distributed using the Leia Store

Unity Installation

Through the Unity Hub, install Unity 2020 LTS with Android Build Support, Open JDK, and Android SDK & NDK tools installed:
Unity Hub > Installs > Install Editor > Select 'Install' for desired version > Settings > Add Modules
Select Android Build Support, OpenJDK, and Android SDK & NDK Tools > Continue
You can also check if you have the Android options installed in a premade Unity project by selecting Edit in the top toolbar > Preferences > External Tools > Checkmark JDK Installed with Unity, Android SDK Installed with Unity

Project Setup Steps

  1. 1.
    Delete your previous Leia Unity SDK folder if it exists
    • at <project_path...>\Assets\LeiaLoft\
  2. 2.
    Download the Leia Unity SDK: https://www.leialoft.com/tools
  3. 3.
    If you are working in an existing project, follow the Project Compatibility for Existing Projects steps here.
  4. 4.
    Import the Leia Unity SDK .unitypackage into your Unity project.
    • While Unity is running, double-click the .unitypackage or
    • Drag the .unitypackage into your Unity project's Assets folder
  5. 5.
    Follow the Recommended Unity Settings window. If this does not pop up automatically, it can be found in Leia> Recommended Unity Settings or Alt + R