Hi, i am making a top down game and would like a spotlight to follow my player, as i have it, i created a script to get the camera to follow the player which works fine, i tried doing the same thing with spotlight but everytime i press play, the spotlight disappears. I then created an empty gameObject, attached my script to that and put my spotlight and camera inside, but still the spotlight disappears. Has anyone any ideas as to why this is happening? Help would greatly be appreciated
Sorry guys i figured it out, my spotlight was too far from my object and so it wasnt showing. I feel a bit silly now but ill leave this up just in case anyone has the same problem