My lights don't work with On Click() when I click the button.

I was just testing out the built-in On Click () but when I click the button, the lights do not want to enable. I know this is possible to do with scripting, but I want to know why this does not work. Do I need to add something extra? Here is an image of how I set it up using the built-in event. Note that the third one is different. That was only to test it in another way:

78149-capture.jpg

Toggling lights with OnClick does work. Not sure why it’s not working for you, the image looks fine. Are you sure you dropped in the correct lights and GameObject to OnClick? I’d also double check if the GameObject is inactive when trying to enable lights, and vice versa, is the GameObject active and the lights disabled.