Page 1 of 1

Dialogue UI Portrait behind Text Panel

Posted: Sat Dec 25, 2021 4:51 am
by HunterTom
Hi,

I am using the VN template for the UI. I am having trouble moving the portrait image (subtitle Panel) behind the text Panel.

Normally it would be a sorting layer or z position setting, but the z position doesn't work in this case, and I couldn't find a sorting layer handle in the subtitle panel either.

Thank you very much!

Re: Dialogue UI Portrait behind Text Panel

Posted: Sat Dec 25, 2021 8:57 am
by Tony Li
Hi,

Within a Canvas, Unity sorts UI elements in the order they appear in the hierarchy:

uiLayerOrder.png
uiLayerOrder.png (17.73 KiB) Viewed 285 times

Try moving your portrait images higher in the hierarchy so they're drawn first.