- Home /
lightbulb effect
im making a horror fps game in unity and i would like to know how to make my lights flicker every few seconds.
does anyone know how i would go about doing this?
Answer by Justin Warner · Dec 05, 2010 at 03:17 PM
http://unity3d.com/support/documentation/ScriptReference/Light.html
http://unity3d.com/support/documentation/ScriptReference/Light-color.html
And use the yield WaitForSeconds(NUM_SEC); between the actual dimming and what not...
nothing happens once ive edited the script and added it to the light can you help me?
Your answer
![](https://koobas.hobune.stream/wayback/20220613085756im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
point lights too many drawcalls mobile 2d game 1 Answer
Laser line 1 Answer
Make spotlight flicker when seeing enemy? 1 Answer
Help with my Light Flicker Script... 1 Answer
Strange squares flickering on the screen running the game 1 Answer