A simple script that switches Color
of an Image
between On Color
and Off Color
, usually white and black.
Image
when the light is on.Image
when the light is off.Fade Time
- time it takes for the light to turn off, once Hold Time
expires. Imitates dash lights that use conventional bulbs.Hold Time
- time it takes for the light to start turning off after the state has changed. Useful to remove flicker from signals that are not persistent but rather change on frame-to-frame basis, e.g. ABS and TCS.