I need to create a simple dialog box. The dialog box should have only two buttons - 'yes' or 'no' (it can be 'ok' or 'cancel') and the text "do you want to continue" above.
If user press YES, it should change the value of int variable - i=1. If user press No , the variable i=0.
Then i can decide what script should do, depending on the user choice.
Everything works great for me. This is exactly what i wanted (i just added int variable, which i desired), except one thing. I don't want the 'cancel' button in dialog box. How to get rid of it ?