Hi!
I'm new to the dialogue system and the past day or so I've been setting up some custom UI (with moderate success). I've basically duplicated the VN template and replaced the images and modified it to my liking, but now I've run into a slight problem. When I play the scene the text panel is already active (I'm pretty sure it's the text panel because I've tried deactivating the response menu etc.). It's also ONLY the text panel that shows up as unwanted UI at the start.
However, after talking to an NPC the panel disappears like normal, so I'm assuming I've missed/ messed up some kind of setting when I was changing things. I've tried every fix my n00b brain can think of and there are no error messages either, so help is greatly appreciated because I have no clue how to fix this.
Text panel always open at start
Text panel always open at start
- Attachments
-
- UI setup
- Screenshot1.PNG (84.05 KiB) Viewed 383 times
-
- Text panel at the start of the scene
- Screenshot2.PNG (61.53 KiB) Viewed 383 times
Re: Text panel always open at start
Hi,
Inspect the Standard Dialogue UI component on the VN Template Standard Dialogue UI 1 GameObject and assign the Dialogue Panel child GameObject to the Main Panel field. Leave the "Don't Deactivate Main Panel" checkbox UNticked.
Inspect the Standard Dialogue UI component on the VN Template Standard Dialogue UI 1 GameObject and assign the Dialogue Panel child GameObject to the Main Panel field. Leave the "Don't Deactivate Main Panel" checkbox UNticked.
Re: Text panel always open at start
Hi again,
I checked in the inspector and turns out I already have those settings. I also did some more testing and the text panel only disappears after the player has spoken in a dialogue. If I start the scene playing a conversation where only an NPC speaks then the panel remains on the screen afterwards.
I checked in the inspector and turns out I already have those settings. I also did some more testing and the text panel only disappears after the player has spoken in a dialogue. If I start the scene playing a conversation where only an NPC speaks then the panel remains on the screen afterwards.
- Attachments
-
- VN Template Standard Dialogue UI 1 inspector
- Screenshot3.PNG (60.26 KiB) Viewed 377 times
Re: Text panel always open at start
Hi,
Does the same thing happen with the original VN Template Standard Dialogue UI? For example, as a test try assigning the original prefab to the Dialogue Manager's Dialogue UI field and run a conversation.
Are there any errors or warnings in the Console window?
Does the same thing happen with the original VN Template Standard Dialogue UI? For example, as a test try assigning the original prefab to the Dialogue Manager's Dialogue UI field and run a conversation.
Are there any errors or warnings in the Console window?
Re: Text panel always open at start
Every template UI prefab works fine and there are no warnings or errors
Re: Text panel always open at start
Hi,
Can you export your UI as a unitypackage and email it to tony (at) pixelcrushers.com?
Can you export your UI as a unitypackage and email it to tony (at) pixelcrushers.com?
Re: Text panel always open at start
Yes, I can do that!
Re: Text panel always open at start
Hi,
Thank you for sending the UI package. Please assign Subtitle Panel 1 to the Standard Dialogue UI component's Subtitle Panels list:
Thank you for sending the UI package. Please assign Subtitle Panel 1 to the Standard Dialogue UI component's Subtitle Panels list: