Hi there,
I've been trying to find some old post about this, but couldn't find anything, not a go-to page on the documentation.
In a nutshell, I need that the Sort Order for the "fader" canvas is set to 32765, instead of 32766.
The reason for that is that I have a huge Continue button that occupies all the screen, and also some debugging panels with buttons, and I don't want to advance the dialogue when I press those debug buttons, which it happens because the DS canvas and the debug canvas both share 32767, which is the max number I can introduce.
Now, I could just set DS canvas to 32766, but that's also the sort order for the fader canvas and dialogue entries don't show up when it's faded out. And I want them displaying even in that case.
So, the only solution I can think of is to set the fader canvas to 32765, but I don't see any way to do that, other than "watching" when it is instantiated and changing the property at that instant.
It would be more convenient if you could pinpoint the script where that number is set, so I can modify it, TBH.
Thanks!
Screen fader canvas too high in the sort order
Screen fader canvas too high in the sort order
Unity 2019.4.9f1
Dialogue System 2.2.15
Dialogue System 2.2.15
Re: Screen fader canvas too high in the sort order
Hi,
The sort order is defined in SequencerCommandFade.cs:
For version 2.2.21, I'll change it to 32760.
The sort order is defined in SequencerCommandFade.cs:
Code: Select all
private const int FaderCanvasSortOrder = 32766;
Re: Screen fader canvas too high in the sort order
Nice, thanks!
Unity 2019.4.9f1
Dialogue System 2.2.15
Dialogue System 2.2.15