Search Unity

Sprite on top of everything

Discussion in 'Editor & General Support' started by T_E, Feb 24, 2017.

  1. T_E

    T_E

    Joined:
    Jan 17, 2017
    Posts:
    3
    Hey there!

    i made a pingpong-scaling sprite which shall indicate a position where a touch-interaction is possible.
    I need to display/render the Sprite over every 3D-object. So if there is a Wall in front of the Sprite, it should be rendered anyway on top/in front of the wall.
    Anyone got an idea how to achieve this?

    Greetings
     
  2. T_E

    T_E

    Joined:
    Jan 17, 2017
    Posts:
    3
    Ok, I copied the default-sprite shader and put in " ZTest Always" and it works in the play mode of the editor.
    When I build it for Android it still doesnt work...