Dialogue UI Portrait behind Text Panel

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
HunterTom
Posts: 18
Joined: Fri Dec 24, 2021 4:58 pm

Dialogue UI Portrait behind Text Panel

Post 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!
User avatar
Tony Li
Posts: 21981
Joined: Thu Jul 18, 2013 1:27 pm

Re: Dialogue UI Portrait behind Text Panel

Post 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 262 times

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