Skip to main content

Initial setup

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

images-medium

If this is the first time opening the Playworks Plugin plugin, you will be presented with an interface requiring your Unity Playworks login credentials.

  1. Log in to your Unity Playworks account.
info

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 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 Unity Playworks Plugin 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.
Warning

Please note Luna's startup scene is configured separately below the list of all scenes.

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.