Search Unity

  1. Unity 2019.1 beta is now available.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. We're looking for insight from anyone who has experience with game testing to help us better Unity. Take our survey here. If chosen to participate you'll be entered into a sweepstake to win an Amazon gift card.
    Dismiss Notice
  4. On February 28th the Feedback website will shut down and be redirected to the Unity forums. See the full post for more information.
    Dismiss Notice
  5. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  6. Unity 2018.3 is now released.
    Dismiss Notice
  7. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

Can't get a UI sprite over a UI button

Discussion in 'Unity UI & TextMesh Pro' started by glao231, Sep 15, 2018.

  1. glao231

    glao231

    Joined:
    Sep 15, 2018
    Posts:
    1
    None of the depth/sorting layer or hierarchy order anything will do this. If I create a UI button and then another UI button on the same canvas the second button is on top of the first, this is correct. If I create a UI sprite and then another UI sprite the second sprite is on top of the first, this is also correct. But if I create a UI button and then a UI sprite then the sprite is under the button and nothing changes that. Also tried creating multiple canvas with no success. Depth doesn't matter, canvas depth doesn't matter, hierarchy order doesn't matter with either 2 canvas or 1.
     
  2. brownboot67

    brownboot67

    Joined:
    Jan 5, 2013
    Posts:
    320
    Look at the render queue on any materials you have applied.