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. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question URP Transparency Sort Axis

Discussion in '2D' started by fletcherwestbrook_unity, Oct 18, 2023.

  1. fletcherwestbrook_unity

    fletcherwestbrook_unity

    Joined:
    Jul 13, 2021
    Posts:
    3
    How do I access this in script? I need to change the sorting/custom axis at runtime due to camera rotation etc. Thanks in advance.
     
  2. fletcherwestbrook_unity

    fletcherwestbrook_unity

    Joined:
    Jul 13, 2021
    Posts:
    3
    This is what I'm talking about in the screenshot shown, if this helps. upload_2021-11-10_11-17-42.png
     
  3. spiney199

    spiney199

    Joined:
    Feb 11, 2021
    Posts:
    6,084
  4. fletcherwestbrook_unity

    fletcherwestbrook_unity

    Joined:
    Jul 13, 2021
    Posts:
    3
    Yeah... I was afraid so. I looked at the docs for Renderer2D data as well. I was hoping one of the unity devs would see this and provide a solution. They seem active around here. First timer here.