Skip PC Subtitle after response not working
Posted: Wed Feb 15, 2023 9:16 pm
Hi Tony,
I am a Unity developer and I recently started using your Dialogue System for Unity in one of my projects. I wanted to start by saying that your plugin is fantastic and has been incredibly helpful in bringing my project to life.
However, I'm having an issue where the PC response subtitles still show up on the screen, even though I've ticked the "skip PC subtitle after response" option in the Dialogue Manager. This issue only occurs when I use my custom "Skip" function.
Here's part of the code for my Skip function:
I have reviewed the documentation and attempted to troubleshoot the problem, but have not been able to find a solution.
I would be grateful if you could provide any advice or resources on how I can resolve this issue and prevent the PC response subtitles from appearing on the screen while still being able to use my custom "Skip" function.
Thank you for creating such a great plugin and for your support.
Best,
I am a Unity developer and I recently started using your Dialogue System for Unity in one of my projects. I wanted to start by saying that your plugin is fantastic and has been incredibly helpful in bringing my project to life.
However, I'm having an issue where the PC response subtitles still show up on the screen, even though I've ticked the "skip PC subtitle after response" option in the Dialogue Manager. This issue only occurs when I use my custom "Skip" function.
Here's part of the code for my Skip function:
Code: Select all
public void Skip(){
skip = true;
dialogueUI.OnContinueConversation();
}
void OnConversationLine(Subtitle subtitle)
{
if (skip)
{
subtitle.sequence = "Continue()";
}
}
void OnConversationResponseMenu(Response[] responses)
{
skip = false;
dialogueUI.ShowSubtitle(DialogueManager.currentConversationState.subtitle);
}
void OnConversationEnd(Transform actor)
{
skip = false;
}
I would be grateful if you could provide any advice or resources on how I can resolve this issue and prevent the PC response subtitles from appearing on the screen while still being able to use my custom "Skip" function.
Thank you for creating such a great plugin and for your support.
Best,