For the warning it maybe when I jumping between different parts of the dialogue, but I am not sure.
Regarding the script, does this go on the player or the letterbox template? because I am using two different types dialogue panels would I use setactive false to turn off the dialogue when not in use?
Dialogue Override multiple UI''s
Re: Dialogue Override multiple UI''s
Hi,
This is a custom sequencer command, so it just goes anywhere in your Projects view (i.e., Assets folder), and you don't need to add it to any GameObjects.
This is a custom sequencer command, so it just goes anywhere in your Projects view (i.e., Assets folder), and you don't need to add it to any GameObjects.
Re: Dialogue Override multiple UI''s
Hi
I added Canvas child GameObject to the Dialogue Manager and instance letterbox ui. Also added UseDialogueUI(InternalDialoguePanel).
However when I play I get this warning
I added Canvas child GameObject to the Dialogue Manager and instance letterbox ui. Also added UseDialogueUI(InternalDialoguePanel).
However when I play I get this warning
- Attachments
-
- 2024_11_08_08_40_04_Window.jpg (15.73 KiB) Viewed 62 times
Re: Dialogue Override multiple UI''s
In the script, try changing this line:
to this:
This way your UI can be anywhere, not just an active child of the Dialogue Manager's hierarchy.
Code: Select all
var ui = DialogueManager.instance.transform.Find(GetParameter(0));
Code: Select all
var ui = GameObject.Find(GetParameter(0));
Re: Dialogue Override multiple UI''s
This worked however the subtitles don't appear on the ui and when conversation ends the ui still appears on the screen
Re: Dialogue Override multiple UI''s
There are any other errors or warnings in the Console window?
Test the Letterbox UI by itself -- for example, by temporarily assigning it to the Dialogue Manager's Display Settings > Dialogue UI. Make sure it works on its own.
Test the Letterbox UI by itself -- for example, by temporarily assigning it to the Dialogue Manager's Display Settings > Dialogue UI. Make sure it works on its own.
Re: Dialogue Override multiple UI''s
This didn't work, when I played, it used a default UI these are warnings I get. I will send a reproduction project to you
- Attachments
-
- 2024_11_12_10_33_30_DDNC_V3_LevelDesignBlockout_Windows_Mac_Linux_Unity_2022.3.13f1_DX11_.png (16.88 KiB) Viewed 40 times
Re: Dialogue Override multiple UI''s
Thanks for sending the repro project. I replied to your email with some questions.