Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Scroll Documents: Update page title prefix

...

Warning

Due to a Unity bug the Indicator Light shows unexpected behavior when the material inspectors is open. Please make sure to close the material inspectors when using the Indicator Light.

Overview

The Indicator Light is a component that lights up a Game Object. The Indicator light works by changing the emission property of a material to simulate a light. It consists of two components; Physical and Logic. Both are needed to control the light through a logic adapter (connecting the Indicator Light to an external controller through a Logic Simulator). Adding a Control Panel gives you the option to control the light from the Unity scene.

The light state can be switched between enabled and disabled. The intensity of the light can be customized as well as the color of the light used by the enabled and disabled state.

...

Where to find

The feature can be found under Standard Components > Indicator Light

...

Note

The Indicator Light script will only be added if the GameObject has a MeshRenderer and a Mesh.

...

Feature Layout - Physical Component

...

The image below shows the complete feature layout of the Indicator Light.

Live Data

State

Whether the Indicator Light is Inactive or Active.

Intensity

The intensity of the light.

Properties

 

Light Color

The emission color to light up with when enabled.

Base Color

The emission color when disabled.

Materials

The base material to use.

Feature Layout - Control Panel

...

Title

The Title of the Control Panel.

Click to ping the target component in the hierarchy.

Double click to edit.

Indicator Light Properties

State

Whether the Indicator Light is Inactive or Active.

Intensity

The intensity of the light.

Target Component

Target Gameobject

The gameobject which has a standardcomponent you want the Control Panel for.

Target Component

The Component which for which a Control Panel is generated.

...

How to use

  1. Add the Indicator Light script to the GameObject

  2. Select a material by clicking the “Select material“ button if no material is selected. It automatically grabs the first material to be selected and should be selected by default

...