Hi, so I haven’t really worked with animating lights before, and am trying now with Unity. I have my entire program working, but as an added effect, I want to make it so that, on button press, a point light variable attached to my Particle System will have its range quickly animate from 0 to a chosen number (Let’s just say 5) and go back to 0, creating a sort of pulsing or flashing light effect. However, I want it to animate it so that there’s a smooth transition between the start and end points of the animation within a short span of time. While I know how to access the range functions, I’m not exactly sure how to code this.
Can anyone help me with this? (Preferably in C#)
[9605-screen+shot+2013-04-02+at+2.09.14+am.png|9605]
I want the light in that centre to animate out and in on button press