- Home /
How to make animation keep value after transition
Hi everyone ! I`am trying to make an animated menu in unity and i wanted to make sequence like this:
background zooming(works fine)
then tittle should appear(so alpha changes from 0 to 255, default is set to 0 because i want it to be invisible when background is zoomed) .
then button should slide in
The Problem is that when button sliding in(the transition fires) the tittle alpha color back to it`s default value(0) so its disappear and (it shouldn`t of course) so question is how to make tittle to keep it`s color value when transition appears(button slides in)
sequence in controller look like this:
I`am using unity 4.6
Answer by metyl · Dec 08, 2014 at 07:39 PM
Ok so i solved this issue by making tittle visible by default and then in first frame of CameraZoomIn i put this to invisible again and then it works just like i wanted, so when background is zoomed the tittle is invisible,then appears and when next animation is played(in this case Button is slidded in ) the tittle stays visible