Search Unity

LWRP light and C# script

Discussion in 'General Graphics' started by arncota, Jan 6, 2020.

  1. arncota

    arncota

    Joined:
    Nov 12, 2013
    Posts:
    14
    Hi,

    I have added a Global Light 2D to my scene. How do I get a reference to it in a script so I can interact with it? Do I need to add a new "using" statement to get the type to appear? I want to change its intensity.