Return All Active Buttons During Dialogue
Posted: Mon Dec 27, 2021 6:47 pm
Hi Tony,
Just wondering if you have an easy way to return all the response buttons which appear during a conversation?
Eg: A conversation starts with one response button for the user (so I would like to return that one button/button name), but the next response in the conversation gives the player two response buttons to select from. How would I be able to return the choice of buttons/button names via code?
I know how to find the current selected button via EventSystem + UnityEngine.UI - but would be nice to be able to return the buttons dynamically as they appear in the conversation.
I'll keep trying to figure it out myself, but any help would be amazing.
Thanks mate
Just wondering if you have an easy way to return all the response buttons which appear during a conversation?
Eg: A conversation starts with one response button for the user (so I would like to return that one button/button name), but the next response in the conversation gives the player two response buttons to select from. How would I be able to return the choice of buttons/button names via code?
I know how to find the current selected button via EventSystem + UnityEngine.UI - but would be nice to be able to return the buttons dynamically as they appear in the conversation.
I'll keep trying to figure it out myself, but any help would be amazing.
Thanks mate