I am pretty much a newbie when it comes to the new GUI, so I am currently stuck with one principal thing: I created a button animation that should slide a button almost completely off the screen when it is disabled, just leaving a glimpse of it visible.
That’s all good for the animation tied to the disabled state: the button slides smoothly off screen according to my animation curve. But I have an issue with sliding it back in the same way reversed. First of all, I would have expected the animation being tied to a transition, not to the state. The slide back animation should only occur on transitioning from disabled to normal, but not e.g. from pressed to normal. With a reverse animation tied to normal state, however, it would also apply the slide back just because it returns from pressed to normal, which is of course not desired. But for the life of me I can’t find how to attach animations to the transition rather than to the state.
The second issue: even if I accept the animation to be attached to a state, how can I easily get the exact reverse behavior of the slide out? Even if I duplicate the other animation and somehow reverse it’s behavior exactly, it doesn’t feel right this way. Whenever I change the one part slightly, I need to rework the other as well. I tried to attach the slide out animation and check the “mirror” flag, but this did nothing. I believe the back and forth animation is something so “standard” that there is probably a better and easier way to do it, and I just missed to find it…
Maybe I just didn’t get it right. I read and viewed tons of tutorials, but somehow couldn’t really find an answer here. So hopefully someone can push me to the right direction?
