I have a game where you are given options In a widget by clicking on buttons that take you to the next scenario. How can I make it so every button has a coded value and it adds them all up at then end. For example level 2 option 1 has a value of 30$ and option 2 has a value of 10$ After the player completed the level I want that value to be added to the total so on final screen it will read how well the player did playing the game. I have been trying for a few weeks to figure it out. Any suggestions?? Or Help?
I have a game instance created Now I just need to know how to make the button edit the game instance. Please help I am on a timeline.