Search Unity

Sort Ui under object

Discussion in '2D' started by Green11001, Jun 7, 2021.

  1. Green11001

    Green11001

    Joined:
    Apr 14, 2018
    Posts:
    397
    I have a gameobject with an animation that transitions out of a scene. I have a ui button that triggers the transition. However, the ui button (along with the other ui, textmeshpro, etc) stays on top of the transition when it occurs. How can I have the ui canvas render below the transition? I don't want to set it to world space.
     
  2. Olmi

    Olmi

    Joined:
    Nov 29, 2012
    Posts:
    1,553
    I'm not sure if I understood you correctly, but if you need to sort Canvases and you are using Screen Space Overlay, you could adjust Canvas sort order.
     
  3. Green11001

    Green11001

    Joined:
    Apr 14, 2018
    Posts:
    397
    oh you are right lol