Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

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:
    166
    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