my coding skills are not sufficient for this presumably easy task. i searched through the forums and couldnt find what i am looking for, so i need your help. here is the question.
i have 2 lights in the scene and a button to control them to make a very simple day/night cycle-loop. 1 directional light and a spot light. at the begining i need the directional light to be active(on) and the spot light to be inactive(off). and when i hit the button i need it to change it otherwise: turn directional light off and turn spot light on…
is there a way out there to do this? i really appreciate for the help…