Pausing my game fades in a simple black blocking image, in my Canvas.
If I pause the game mid-dialogue (with a DialogueUI displayed over the character's head), the line is displayed on top of my UI.
I see the DialogueUI prefab is spawned to the DontDestroyOnLoad scene. My understanding of how Unity handles canvas draw order is vague, but IIRC it's just 'order in the hierarchy'.
Is there any way to set AC's DialogueUI to draw before my ones?
Comments
Try changing the "Sort Order" value in the Canvas component.
If you need it to assign the Camera field, and/or want it in the scene itself, change the Menu's Source field to "Unity Ui In Scene". You'll then need to have the prefab placed in each scene file (just test with one for now).
Positioning works by manipulating the RectTransform boundary you assign in the Menu's properties. Has that all been set up?
It might be worth trying the opposite approach, i.e. placing the simple black canvas in the "DontDestroyInLoad" scene as well. This needn't be done by hooking it up to AC's Menu Manager - it can be done through script too.