Question by
Joachim P. · Oct 09, 2015 at 07:28 PM ·
c#lighting
Light color is equal to Object color/ script?
Hallo. I am pretty new to Unity and have no idea of scripting.
I created an object (Sphere) and added the component ->Rendering -> Light -> Spotlight. In addition to that, I installed a color picker and aplied it to the Sphere. I now need a script that basically says Light color= Object color. SO that, when i change the Object color with the color picker, the light it emmits changes too. Any ideas?
With much thanks, Joachim.
Comment
Your answer
Follow this Question
Related Questions
See Light through fog 0 Answers
Disable light not working 0 Answers
How to change baked lighting when scene loads? 0 Answers