Question Is there a way to change a light's culling mask?

insomnia

New member
Messages
8
Reactions
0
Points
1
What I want is a light only affect specific Atom, in unity I have a game object A, and I create a layer and align it to a game object B, so if I can change a light's culling mask, I can make this light only affect object A or object B, is it possible? tried to create a script, but I'm really new to script development, I just can't figure out how to access the Light component, or is it even possible?
 
Back
Top Bottom