Hello.
Recently I’ve encountered an issue which I couldn’t find a solution for. The situation is as described:
The game is 2D. In my UI layer (in a Canvas object) there are three objects: “LeftToken”, “MiddleToken”, “RightToken” - each of these objects is an UI Image. All of them has a child ‘UITokenRenderer’ which is basically also an Image. The UITokenRenderer is draggable and everything seems to be fine until I drag the UIToken. Then certain elements of UI cover the dragged object (which is understanadble, because of the fact that the draw order in UnityUI is based on elements position in hierarchy). But the question is, how to make currently dragged UITokenRenderer always on top ?
I was testing with different settings of render mode in Canvas trying to modify the ‘Z’ position of certain elements but that didn’t help