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. The 2023.1 beta is now available for testing. To find out what's new, have a look at our 2023.1 feature highlights.
    Dismiss Notice

Question How do i use this with an Assembly Definition?

Discussion in '2D Experimental Preview' started by carlosfritz, Oct 28, 2020.

  1. carlosfritz

    carlosfritz

    Joined:
    Feb 17, 2018
    Posts:
    29
    Which assembly do i have to reference? I can't get the following to work:
    Code (CSharp):
    1. using UnityEngine.Experimental.Rendering.Universal;
    2.  
    3. public class SomeClass : MonoBehaviour
    4. {
    5.   Light2D _light;
    6. }
    I tried referencing Unity.RenderPipelines.Universal.Runtime and others to no avail.