Hello Everyone! Today I have a shootout light script, today its pretty simple
just attach this to the light of your script, make sure it has a collider, assign the light variable and if you have a tagged object named "bullet" it will turn off the light
have fun!
(this script was made all by me)


#pragma strict

var lighttoturnoff : Light;
function OnTriggerEnter () {
if(GameObject.FindWithTag("Bullet")) {
lighttoturnoff = GetComponent(Light);
lighttoturnoff.enabled = false;