Hello everyone! I saw a lot of people wanting to change the UI Elements order, not only to put the text above another and something like this, but too about putting the text above sprites and so on. This works for all the cases.
To Order the UI elements you need to:
-
Go to the Canvas Game Object:
-
In Canvas Component you need to turn the Render Mode from Screen Space - Overlay to Screen Space - Camera:
-
Then you will see that the Sorting Layer and Order in Layer appeared. So you can change the Sorting Layer to the layer that you want to, and the order in that layer:
I’ll be happy to reply your questions. Thanks!