Search Unity

Question 2D Light with Visual Script ?

Discussion in 'Visual Scripting' started by jeanpoolay, May 27, 2022.

  1. jeanpoolay

    jeanpoolay

    Joined:
    Mar 28, 2017
    Posts:
    8
    Hi guys hope you're well,

    I didn't find Nodes dedicated to 2D Light, does it exists? Am I blind ?

    Thanks in advance,

    love you all

    Sev'
     
  2. ericb_unity

    ericb_unity

    Unity Technologies

    Joined:
    Nov 24, 2017
    Posts:
    167
    This one is not fun to find.

    1. Click on Edit > Project Settings...
    2. Select Visual Scripting.
    3. In the node Library Section, Add Unity.RenderPipelines.Universal.Runtime
      upload_2022-9-26_15-23-26.png
    4. In Type Options add Light 2D
      upload_2022-9-26_15-23-52.png
    5. Click on Regenerates Nodes
      upload_2022-9-26_15-24-53.png
    6. You should now be able to interact with Light 2D
      upload_2022-9-26_15-25-31.png