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
  2. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  3. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    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.