Hi guys,
I’m having a bit of trouble transitioning to new animations instantly because it seems to be playing the first frame of the previous animation. I’m animating a UI image on a canvas to fly in from the left which is off screen and also scale from 0 to 1…though when it transitions it seems to at least play the first frame of the previous animation and it goes back off screen and scales back down to 0.
I have tried removing the exit time and creating a condition but it did not work…am i doing something wrong?
EDIT:
It does actually work, but after i disable the parent rect transform and re-enable it later on, then that is when it no longer works properly. It would even do something crazy sometimes during the transition like set the scale to a random number like 6 or 10 (with a bunch of random decimals), and the animation clips only set the scale to 1 or 0 so i have no idea how it’s doing that…and nowhere in any scripts does it set the scale at all.
EDIT 2:
It looks like the ‘default’ position is reset when the gameobject is disabled and re-enabled…i mean the default position as in the position of the rect transform without any animations affecting it.
Thanks
