- Home /
The question is answered, right answer was accepted
Wierd flickering animation
I made a Animator with a smooth image translation animation (named "in") and out is just the reverse of in. Through code I set FadeIn value to true and false whenever necessary. But now when I click on the button to start in Animation the animation flickers for a moment and then starts over. The video for this flickering is on https://drive.google.com/file/d/1BkvOZOSB2911CuIHlmcfxeFhZpHI2zzN/view?usp=drivesdk
I doubt know what idle does, but it looks to me as if it has a keyframe with the menu completely visible and transitions back from that to what it should have started in the first place. I'd set it up so you have idle transition into in, but in and out transition into each other for a simple back and forth animation, idle shouldn't be required anymore.
Hey I solved it somehow by $$anonymous$$imising the transition duration to least possible for transition from Idle to In. Idle has no keyframes, I had added it to set it to default and loop. Thanks for your response though.
Answer by Vedang202 · Jul 21, 2018 at 04:48 PM
For those who have the same problem I had. I solved it really quickly just after posting this question. All I had to to was to completely minimise the transition duration to 0 and that worked like magic. Nothing except that had to be changed and it got rid of that flickering thing.
Follow this Question
Related Questions
Change UI outline/shadow via animation 0 Answers
Did Animator change how it writes properties since Unity 5.5? 1 Answer
UI panel animator transition only works properly when the panel Is selected in the hierarchy...? 0 Answers
Child Image of Animated Panel Shaking 1 Answer
Button animator not playing. 0 Answers