Just wondering if there is an easy way to allow users to turn on/off subtitles and if so can I force some subtitles to be displayed even if user turned off.
ie: I want to give user control over subtitles, but in some cases I don't want to put out a subtitle in case player barks a thought while other npc's are close by.
Thanks John
User runtime option for subtitles
Re: User runtime option for subtitles
Hi John,
To toggle subtitles, set DialogueManager.DisplaySettings.subtitleSettings.showNPCSubtitleDuringLine and/or showPCSubtitlesDuringLine bool properties.
The Unity UI Bark UI component has a Text Display Setting value. You can set this to Show, Hide, or Same As Dialogue Manager. To force the character's bark subtitles to be visible, set it to Show. To use the player's current setting, set it to Same As Dialogue Manager.
To toggle subtitles, set DialogueManager.DisplaySettings.subtitleSettings.showNPCSubtitleDuringLine and/or showPCSubtitlesDuringLine bool properties.
The Unity UI Bark UI component has a Text Display Setting value. You can set this to Show, Hide, or Same As Dialogue Manager. To force the character's bark subtitles to be visible, set it to Show. To use the player's current setting, set it to Same As Dialogue Manager.
Re: User runtime option for subtitles
Thanks. Should do the trick.
John
John