Tutorials for building a Dialogue UI
Posted: Fri Mar 15, 2024 4:54 pm
Hey folks,
I'm just learning the Dialogue UI and the question I have is related to building/customizing the code that links together the Dialogue UI logic and how it is represented in the Scene.
Right now I feel like I'm throwing a Dialogue Manager, attaching canvas elements and then everything happens automagically - but I don't understand what is happening under the hood and so I can't add one more "adapter" to support Nova UI or UI Toolkit or anything else.
To learn how to do that, I want to do an exercise for myself and build something ultra simple:
* When someone says something in a Dialog, I just want to do "Debug.log(" the name of who said it + the subtitle
* When I press numbers 1-5 on keyboard, it selects the corresponding reply, if currently the replies are shown
How can I do this? Where do I start? Is there some kind of tutorial or examples?
Thanks!
I'm just learning the Dialogue UI and the question I have is related to building/customizing the code that links together the Dialogue UI logic and how it is represented in the Scene.
Right now I feel like I'm throwing a Dialogue Manager, attaching canvas elements and then everything happens automagically - but I don't understand what is happening under the hood and so I can't add one more "adapter" to support Nova UI or UI Toolkit or anything else.
To learn how to do that, I want to do an exercise for myself and build something ultra simple:
* When someone says something in a Dialog, I just want to do "Debug.log(" the name of who said it + the subtitle
* When I press numbers 1-5 on keyboard, it selects the corresponding reply, if currently the replies are shown
How can I do this? Where do I start? Is there some kind of tutorial or examples?
Thanks!