- Home /
Question by
CFprime · May 22, 2015 at 07:28 PM ·
c#lightlightmapping
Access 'Lightmapping' property in light via C#.
I can't seem to find the property that lets you set the 'lightmapping" type of a light.
Its certainly in the GUI and I've tried digging with reflection, but I can't see to find the access point.
Anyone know how to set the light to (Auto, Realtime Only, Bake Only) via code?
Looking for the the equivalent of: light.lightmapping = 1;
Comment
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
Light connected to boolean doesnt switch 2 Answers
Lightmapping - Lightmap Resolution 1 Answer