Hi again !
I was wondering while creating my own UI for Dialogue System (and setting up the continue button) ; is there any way to make it work for phone ? I want the dialog to continue when the player touches the phone's screen. Do i have to use the continue button and take off all the images and set the alpha to 0, or is there any other way to do so ?
Thank you in advance !
Continue dialogue on touch
- Pendergast
- Posts: 38
- Joined: Sun Oct 18, 2020 1:48 pm
Continue dialogue on touch
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
Instagram: https://instagram.com/nyxnikita
Site officiel: https://nyxnikita.com
Boutique: https://shop.nyxnikita.com
Tous mes liens: https://nyxnikita.carrd.co/
Artist & Writer
Caroline I. Letuppe
Instagram: https://instagram.com/nyxnikita
Site officiel: https://nyxnikita.com
Boutique: https://shop.nyxnikita.com
Tous mes liens: https://nyxnikita.carrd.co/
Re: Continue dialogue on touch
You can add a script to continue -- call (DialogueManager.dialogueUI as StandardDialogueUI).OnContinue; -- but it's easiest to use the continue button. Make it cover the whole screen, and set the alpha to zero like you said.
- Pendergast
- Posts: 38
- Joined: Sun Oct 18, 2020 1:48 pm
Re: Continue dialogue on touch
Thank you, Tony !
Now that I think about it, I also have a small question regarding the alert panel !
I activated it during conversations and I'd like to prevent the alert window from disappearing when the player click on continue (and therefore let it disappear by itself, which it already does: but if I click on continue before it's completely disappeared, it disappears on this click, wich i want to deactivate.)
Now that I think about it, I also have a small question regarding the alert panel !
I activated it during conversations and I'd like to prevent the alert window from disappearing when the player click on continue (and therefore let it disappear by itself, which it already does: but if I click on continue before it's completely disappeared, it disappears on this click, wich i want to deactivate.)
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
Instagram: https://instagram.com/nyxnikita
Site officiel: https://nyxnikita.com
Boutique: https://shop.nyxnikita.com
Tous mes liens: https://nyxnikita.carrd.co/
Artist & Writer
Caroline I. Letuppe
Instagram: https://instagram.com/nyxnikita
Site officiel: https://nyxnikita.com
Boutique: https://shop.nyxnikita.com
Tous mes liens: https://nyxnikita.carrd.co/
Re: Continue dialogue on touch
Hi Caroline,
If your continue button has a Standard UI Continue Button Fast Forward component, untick 'Continue Alert Panel'.
If the continue button's OnClick() event instead calls the dialogue UI directly, change it from StandardDialogueUI.OnContinue to StandardDialogueUI.OnContinueConversation.
If your continue button has a Standard UI Continue Button Fast Forward component, untick 'Continue Alert Panel'.
If the continue button's OnClick() event instead calls the dialogue UI directly, change it from StandardDialogueUI.OnContinue to StandardDialogueUI.OnContinueConversation.
- Pendergast
- Posts: 38
- Joined: Sun Oct 18, 2020 1:48 pm
Re: Continue dialogue on touch
The first one worked, thank again, Tony !
PENDERGAST / NyxNikita
Artist & Writer
Caroline I. Letuppe
Instagram: https://instagram.com/nyxnikita
Site officiel: https://nyxnikita.com
Boutique: https://shop.nyxnikita.com
Tous mes liens: https://nyxnikita.carrd.co/
Artist & Writer
Caroline I. Letuppe
Instagram: https://instagram.com/nyxnikita
Site officiel: https://nyxnikita.com
Boutique: https://shop.nyxnikita.com
Tous mes liens: https://nyxnikita.carrd.co/
Re: Continue dialogue on touch
Happy to help!