I have set up a main menu panel. In a child button within this panel I have two UIButtonPlayAnimation scripts attached. The first moves this main menu panel up and out of the screen view by triggering an animation when the button is clicked. The second UIButtonPlayAnimation script triggers a new panel to slide from the bottom of the screen into view.
However, when the button is clicked the first panel slides up and out of the screen and the second panel seems to be using the first panels pivot as its starting position for animating and thusly slides up and out of the top of the screen instead of sliding from the buttom up into the screen.
If I run the animations with out utilizing UIButtonPlayAnimation... for example just setting the animation to play automatically in the animation componenet, and I toggle the activeness of the panel, everything works fine.... This of course is not a solution as I need the activation of the panel and its subsequent slide into view to be triggered by a button press.
Thoughts?