Search Unity

  1. Unity Asset Manager is now available in public beta. Try it out now and join the conversation here in the forums.
    Dismiss Notice

How to add LightLayer from code?

Discussion in 'Graphics Experimental Previews' started by id0, Feb 15, 2019.

  1. id0

    id0

    Joined:
    Nov 23, 2012
    Posts:
    455
    Something like gameObject.renderer.LightLayer = 7. I can't find that.