Skip to main content

Initial setup

Once the Luna Playable plugin gets installed into a project, it is recommended to start with opening Luna UI via Tools > Luna Playable in main Unity menu:

images-medium

If this is the first time opening the Luna Playable plugin, you will be presented with an interface requiring your Luna Create Hub login credentials.

  1. Log in to your Luna Create Hub account.
If you don't have credentials, you should reach out to your account admin or sign up here.

images-medium

  1. Once logged in, the only mandatory change will be to select the scenes to include in the export, and your startup scene (this will be set to default if you have only one scene). To do this, you can navigate to the Settings section, and select the Basic tab.

images-medium

  • Scenes in Build will display a list of all scenes currently configured in Unity's Build Settings window and additionally (from version 3.5.0) your currently open scene in Unity Editor if it has not been added to Build Settings. Toggling it will add the scene to Build Settings. This is necessary for Luna to be able to discover the list of scenes and also to be able to gather the assets and scripts used by those scenes. Build Settings window can be opened via File > Build Settings.

    IMPORTANT
    Please note Luna's startup scene is configured separately below the list of all scenes.
  • The Use Dev Environment checkbox allows you to activate or deactivate the Luna Create Hub preview mode that runs with your build locally. Click here for more information about this feature.

images-medium

This is done intentionally so that playable scenes can live side by side with main game without affecting it.

PRO TIP
It's always best to start incrementally, i.e. create a simple playable scene with little to no logic and choose that for the export to make sure other pieces of the pipeline are set up properly. It is possible to get back to this UI at any time and make any changes as it becomes required.

Once you have chosen scenes to be exported by Luna, it is ready to export your project.