Getting Started

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

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:
  3. 3.
    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
  4. 4.
    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

Conversion Steps for New and Existing Projects

  1. 1.
    Follow the project setup steps.
  2. 2.
    Attach the LeiaCamera.cs script to your Camera GameObject.
  3. 3.
    Follow Content Design Guidelines.

Quick Design Steps

  1. 1.
    Start by encompassing your game content in the Leia Frustum.
  2. 2.
    Set focus plane to where the viewer should be looking.
    a. Text / UI looks best when in focus.
  3. 3.
    Set baseline scaling to determine the amount of depth or size of your Leia Frustum.
  4. 4.
    Switch to 2D mode when no 3D content is displayed.
Last modified 3mo ago