...
Warning |
---|
Due to a Unity bug the Indicator Light shows unexpected behaviour when the material inspectors are 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 also be customized along with the color of the light used when in enabled or 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.
...
Properties |
|
Light Color | The emission color to light up with when enabled |
Base Color | The emission color when disabled |
Select a Material | The base material to use |
...
How to use
Add the Indicator Light script to the GameObject
...
7. Select the generated control panel. Click Enable/Disable to Enable/Disable the light. Drag the intensity slider to change the Intensity
...
Feature overview - Logic Component
...
Properties |
|
IndicatorLight | Select an Indicator Light to connect |
...