Skip to main content

How to Create a New Theme

Map Themes are the basis for the visual style of the Lightship Map. For more information on how themes work, see Map Themes.

In this topic you will learn how to create a new theme from scratch. To copy an existing theme, see How to Copy an Existing Theme.

Prerequisites

  1. You will need a new 3D (URP) Unity project with Lightship Maps installed. For instructions, see Installing the Lightship Maps SDK.

Steps

To create a new theme:

  1. Select the Assets folder in the Project view of your Unity project.

  2. From the Assets menu (or the right-click menu), select Create > Maps SDK > Map Theme Prefab. This will generate a new map theme prefab - a GameObject that contains a MapTheme component.

  3. Add Builders to your theme.

    1. Double-click on the theme in the Hierarchy to make sure that it is shown in both the Inspector and the Hierarchy.

    2. Find the Builders property underneath Skybox Color. Click the + button on the right.

    3. From the menu, select the builder type to add. You can choose either a Performance [Async] or Standard builder.

      Adding a Builder to a Map Theme
    4. Once you have selected the new builder, it will be added as a child to the theme GameObject.

    note

    If you need to delete a builder, you have to remove it from the Builders list (above the Skybox) and delete it from the Hierarchy.

See Also

For more information on using Feature Builders, see How to Create a New Builder Asset and How to Change Materials in a Builder.