Next: Worklight, Previous: Light Controller, Up: Lighting [Contents][Index]
This component turns a light and optionally a lens flare on and off based on timers. To use, add it to an object with a Light component or to an object which you wish to manage a child light (in this case, assign ’Target Light’ in the Inspector). You can also add a lens flare component to control that if you wish. Next, set a Blink Rate and optionally Timer Offset to tell the Strobe how fast it should blink and when to start. By combining multiple strobes in sequence you can create dancing light effects, wing beacons for aircraft, police lights or pulsing muzzle flashes. Be creative!
LensFlare
lensFlareAre we also using a lens flare?
float
blinkRateHow fast should we blink?
Default value: 1.0f
float
timerOffsetHow long after spawning should we wait before we begin flashing?
Default value: 0.0f
bool
onLineIs this light on or off?
Default value: true
DayNightManager
dayNightManagerOptional reference to a Day Night Manager object, will assign itself automatically if one is in the scene at start
LensFlare
lensFlareAre we also using a lens flare?
float
blinkRateHow fast should we blink?
Default value: 1.0f
float
timerOffsetHow long after spawning should we wait before we begin flashing?
Default value: 0.0f
bool
onLineIs this light on or off?
Default value: true
DayNightManager
dayNightManagerOptional reference to a Day Night Manager object, will assign itself automatically if one is in the scene at start
Next: Worklight, Previous: Light Controller, Up: Lighting [Contents][Index]