By smek
on Tue, 07/10/2012 - 14:45
Hello everyone,
I like to trigger more than one action on a virtual button. Therefore I like to use a static variable to keep a integer value to store wich action to trigger.
Where can I set this variable I tried to use the button handler script but that does not work.
Thanks in advise.
Trigger more actions per virtual button
You should be able to simply define a member variable for the event handler class - unless I've misunderstood your question.
e.g.
int mActionIndex = 0;
can you post your code?
Trigger more actions per virtual button
I'm sorry I was not clear on that. I need the button to trigger a action every time the button is touched. So the variable is used to store wich action to trigger.