Search found 4 matches

by hyf4053
Mon Mar 04, 2024 1:58 am
Forum: Dialogue System for Unity
Topic: Easy way to display some runtime content in the UI controlled by dialogue system?
Replies: 3
Views: 176

Re: Easy way to display some runtime content in the UI controlled by dialogue system?

Hi, Here are two ideas: 1. Incorporate the battle text into your conversation tree so it runs as normal as part of the conversation. This is what Disco Elysium and Clam Man do, for example. It's a better approach IMO because all of the text and logic is in one place. 2. However, if the text must co...
by hyf4053
Tue Feb 27, 2024 7:07 am
Forum: Dialogue System for Unity
Topic: Easy way to display some runtime content in the UI controlled by dialogue system?
Replies: 3
Views: 176

Easy way to display some runtime content in the UI controlled by dialogue system?

Hi, I would like to know if there is any easy way to manage some runtime content to display in the StandardDialogueUI. The situation is like this: 1. The player talks to the NPC. 2. Somehow the player triggers a battle in the conversation. 3. As the battle is designed in pure words, I wonder if is t...
by hyf4053
Tue Feb 13, 2024 12:07 am
Forum: Dialogue System for Unity
Topic: How to get reference of the Response Button generated by dialogue system
Replies: 3
Views: 88

Re: How to get reference of the Response Button generated by dialogue system

Hi, The cleanest way is to make a subclass of StandardUIResponseButton and use the subclass in place of StandardUIResponseButton on your response buttons. Override the SetFormattedText() method and access the response property. For example, say the response dialogue entry has a field named "To...
by hyf4053
Mon Feb 12, 2024 1:22 pm
Forum: Dialogue System for Unity
Topic: How to get reference of the Response Button generated by dialogue system
Replies: 3
Views: 88

How to get reference of the Response Button generated by dialogue system

Hello! Here is the situation. I would like to know how to get the reference of the response button generated by the template in the standard UI. Since I need to add a tooltip when the mouse cursor hovers on the response button and not all the response buttons need a tooltip. So I wrote a script for ...