Hi Guys!
is there a possibility (if yes how?:P) to put two functions in a single ui button ?
for example i have two animations: anim1: standing still table, anim2: rotating table.
i want a “start/stop” ui button…
at beginning the table stands still(cuz of anim1) and the button says “start”…
when i click the button it calls my anim2, the table starts rotating and the button says now “stop”…
when i click the button again it calls my anim1, the table stops rotating and the button says now “start”…
and so on …
how can i solve this problem ?