(Sry, maybe my English isn´t perfect)
Hi, I want to change the intensity of a light (Gameobject with only a light component) when I click on an object. I know how to do that (I use OnMouseDown), but how do I change the intensity of a light?
I need two variables, the object/component and the intensity.
Thank you!