Hello,
I would like the response menu not to close automatically when I click on a response.
Instead, I would like to let one of my script do some stuff, and then trigger manually to hide the response menu and to continue the conversation.
Can I handle it with a sequence ?
Thank you in advance.
Delay before hidding response menu
Re: Delay before hidding response menu
Hi,
If you assign your own method to the response button's UI Button component > OnClick() event, the StandardUIResponseButton component will not automatically add its own OnClick() method to the Button's OnClick() event at runtime. Your method can do whatever you want first. When it's done, manually call the response button's StandardUIResponseButton.OnClick() method. This will close the response menu and send the response to the Dialogue System.
If you assign your own method to the response button's UI Button component > OnClick() event, the StandardUIResponseButton component will not automatically add its own OnClick() method to the Button's OnClick() event at runtime. Your method can do whatever you want first. When it's done, manually call the response button's StandardUIResponseButton.OnClick() method. This will close the response menu and send the response to the Dialogue System.
-
- Posts: 4
- Joined: Fri Oct 20, 2023 11:16 am
Re: Delay before hidding response menu
Thank you!
Re: Delay before hidding response menu
Glad to help!