Set the Sorting Layer for UI Controls
Something tells me this is a very beginner issue, and I'm going about this completely wrong.
My goal is fairly simple - I'm trying to write a visual novel engine with the help of a Unity tutorial I found online. I'm obviously trying to customize it a bit. My goal is to have the text area (with character names and dialogue) always appear at the very front, with actors in the middle, appearing BEHIND the panel with the textboxes... but on top of the background, of course. So, my goal is:
User Interface on top, then actors, then the background.
The trouble is, the panel does not have a "Sorting Layer" or "Order in Layer" property, and neither do the two textboxes that are its children. I can set the canvas sorting layer, and the sorting layer for the characters in the Sprite Renderer, but messing with those settings either hides the sprites behind the background, or plops them on top of the whole pile.
Incidentally, I've already tried moving the two Sprite Renderer objects between the canvas and the UI elements in the hierarchy. That did not work.
Thank you so much for any recommendations on this. I appreciate it.
Your answer
Follow this Question
Related Questions
Issue with Sorting Layers with an NPC and Tilemap 0 Answers
Adding a sorting layer and order in layer to a mesh renderer 0 Answers
Sprite sorting order, background behind middleground but in front of foreground 1 Answer
Set SpriteRenderer of Child Objects on and off 0 Answers
Transparency Sort Axis with rule tiles 0 Answers