C# Running two+ buttons feeding input into Text Box

Hi,

I have two buttons that can have a value from 1 to 6, and once clicked need to add that value to a text box total. Im really struggling with the script side of this. i can get both buttons to work; as in, in the dialogue box both buttons are tallying their own values but only one will feed into the text box.

Please Help!

You say you’ve already made those buttons working, so what’s exactly the problem? Can’t you simply increase a custom property in a class with those buttons and then simply show that property value in your textbox?