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

Question How do i use this with an Assembly Definition?

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

Thread Status:
Not open for further replies.
  1. carlosfritz

    carlosfritz

    Joined:
    Feb 17, 2018
    Posts:
    32
    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.
     
Thread Status:
Not open for further replies.