Hi,
I’m curious about dealing with variables.
I looked up the training pages. but I couldn’t understand exactly.
I like to set a variable to each objects.
and when the object is on ‘selected state’, I want to calculate the total of values of variable and show how much is it.
I created Global Variables(Var1, Var2, …). I gave integer as a Default Value.
And I made object to have selected state(OnLongClick), I set in case 1 as ‘Set is selected of This equal to “toggle”’. also I set in case 1 as 'Set value of Var1 to value of Var1(I used value of variable).
Am I doing right? is not so, please help me.
and I also want to show the total values of selected. how can I do this?