Thanks, I made that change and it simplifies my code. However the behavior doesn't change - the position of the panel object is reset every time I activate the tween.
Desired behavior:
//note we continue from where we stopped last activation
(0,0,0) ---tween--> (-10,0,0)
(-10,0,0) ---tween--> (-20,0,0)
(-20,0,0) ---tween--> (-30,0,0)
Current behavior:
//note we reset position at the start of each activation
(0,0,0) ---tween--> (-10,0,0)
(0,0,0) ---tween--> (-10,0,0)
(0,0,0) ---tween--> (-10,0,0)
Additional issue:
I noticed while debugging/loggging this problem that I'm getting two "OnSelect" trigger events from UIButtonTween. I have it configured to call a function "OnButtonSelect", and that function gets called twice every time a button becomes selected.
I wonder if that has something to do with why the panel position is getting reset?
EDIT: This duplicate event problem turned out to be correct behavior (I think) - each tweener was sending events. I just added some filtering in the receiver so I only react to one and this is no longer a problem.