So I’m making a dialogue game where you have to decide multiple times. But I wanna use the same 2 buttons over and over. So I made a bool for each one and whenever there is a decision I just check for the Button. But it doesn’t work with WaitUntil. Can anyone help me?
Hello.
You are giving almost 0 info. Didint post code, aor screenshots so we dont know how are you trying this…
But… BAsicly You just need a canvas with this 2 buttons, and enable and disable the cnvas each time.
Then, via code, edit the butons text and functions. I dont understand why you neet something for “wait”.
What i usually do when i am forced to let the button make 1 of 2 decisions…
let the button call a function that has an if statement for 1 of 2 decisions. Have a bool somewhere that decides weather i am going to use if statement 1 or if statement 2.
If you need like a sample code for it then let me know.