Search found 9 matches
- Fri Feb 21, 2020 1:50 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
Ok, thanks! I've got it working now.
- Wed Feb 19, 2020 3:36 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
Thanks! I got those things working now, but unfortunately it broke something else. I switched to instantiated buttons since the number of responses will be varying quite a bit, but the StandardUIMenuPanel.buttons that I was iterating through to find a match is now empty. The buttons show up now in S...
- Tue Feb 18, 2020 2:00 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
I have discovered a new problem. There are only ever 3 (invisible) response buttons at a time, even if the number of responses I've written is higher. Is there a way I can have it generate as many buttons as there are responses? I currently have it set to using the Bubble Menu panel for responses li...
- Fri Feb 07, 2020 2:29 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
Thanks so much!
Licensing wise, do you mind if I just copy & paste some of the code from your example into my own code?
Licensing wise, do you mind if I just copy & paste some of the code from your example into my own code?
- Wed Feb 05, 2020 3:12 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
Sure. For context, the general idea is that the player will get a limited, not intuitively helpful set of words to build responses out of to solve dialogue puzzles, frequently with homophones and homonyms of the word selection they get. When a word button is clicked, a dialogue bubble will appear ab...
- Tue Feb 04, 2020 2:59 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
Thanks! Combining a few of the things you've suggested, here's what I've got now attached to the Player game object: private StandardUISubtitlePanel mySubtitlePanel; void Start () { mySubtitlePanel = GetComponentInChildren<StandardUISubtitlePanel>(); } public void PushWord(string word) { mySubtitleP...
- Fri Jan 31, 2020 7:09 pm
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
So I think that second one is almost what I need. Here's is a screenshot of what my project currently looks like: Screen Shot.png I set up the speech bubbles with the method described here , with an instance of the prefab for the subtitle bubble as a child of the player gameobject, and the text elem...
- Fri Jan 31, 2020 12:02 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Re: Getting and sending responses through code
Thanks!
I think that should work for me for the most part, but I won't have the full text ahead of time for the subtitle, it will be entered by the player bit by bit. Is there a method I can call from another script to update the subtitle as the player enters the text?
I think that should work for me for the most part, but I won't have the full text ahead of time for the subtitle, it will be entered by the player bit by bit. Is there a method I can call from another script to update the subtitle as the player enters the text?
- Tue Jan 28, 2020 2:49 am
- Forum: Dialogue System for Unity
- Topic: Getting and sending responses through code
- Replies: 17
- Views: 2710
Getting and sending responses through code
Hi, I'm struggling to find the relevant info in the documentation for what I'm trying to do. Instead of using a normal menu for responses, I want to: 1. Add text from another source to a dialogue bubble above the player 2. Get the list of available responses to the current dialogue node above the NP...