police/emergency lights

Ok so I know this might be posted a lot but I can’t seem to find what I am looking for. I need a script that makes a game object render on off and turns a spotlight on and off with it. Does anyone have a sample script or basic script? I am new to the unity coding language.

if you google “unity flashing light” you will find all manner or tutorials, vids, assets and whatever else covering this.

if you know it’s going to have already been covered extensively I’d highly recommend putting the time it takes posting the question on the forums here into searching the web for the answers.

1 Like