1
Misc Archive / Draw a Sprite over UI
« on: April 01, 2017, 07:52:03 PM »
I am trying to draw a cursor sprite over some UI elements, but no matter what I do, the cursor goes behind everything.
The cursor is a 2D Sprite, and as such, I've had to set the camera to draw everything instead of just UI. Now the cursor appears, but it goes behind every UI element, no matter what I set the Z of the cursor to. I don't need it to be in between different UI layers, which I know is a bit of a monstrous problem to solve, I just want it to render before the entire UI. How would I go about doing that?
The cursor is a 2D Sprite, and as such, I've had to set the camera to draw everything instead of just UI. Now the cursor appears, but it goes behind every UI element, no matter what I set the Z of the cursor to. I don't need it to be in between different UI layers, which I know is a bit of a monstrous problem to solve, I just want it to render before the entire UI. How would I go about doing that?