Delay between Mouse Clicks

Hello friends,
I would like to build a dialogue system for my game. I would like to have everything as mouse controlled as possible. This means that I would like to start, continue and select choices via the left mouse button.
This works a little bit to good at the moment because the GetMouseButtonDown starts the dialogue and triggeres all subsequent continues. Is there a possibility to keep this from happening?


I tried

new WaitForEndOfFrame();

But this wont do the trick.

Thank you very much in advance!

Am I missing a critical point or is my question unclear?
Help would be very appreciated :slight_smile:

@dopaseroendo What are “select choices” and what are “subsequent continues”, perhaps share some screenshots of the UI

@JeffDUnity3D thank you for your reply.

This is my current playground with the intended process (currently created via different button presses for each stage):

The Problem is if I use the LMB for every step some of the steps wont be displayed for the user to read. In the example above the second image wouldnt be displayed.

If I use the following code the second image will be displayed:

But I feel this isn’t the ideal solution as I think it will cause problems as soon as the options are also choosable via the LMB.

Is there an better alternative?

@dopaseroendo Not quite my area, but I might recommend doing a couple of tutorials first. A Google search for “unity dialogue system with choices” brings up quite a few

Yes this was also my first choice. I tried a few till I found this one:

But it uses the keyboard for its input methods.

Maybe I am in the wrong froum too. I will try again in the UI forum, but thank you very much.