- Home /
Use Animation Parameters in Animation
I would like to animate a UI element and set the height when clicked: So click once, expand the viewport, click again, let it shrink again.
Now I tried to use the Animator Script and I would like to use the parameter to set the height of the max viewport dynamically.
How can I use Animator Parameters to influence the Animation?
Thanks!
you can use the iTween if you want to dynamically scale your viewport. In animation you can't have dynamic values.
Also iTween is better optimised. You dont need to create new animators and animator controllers. Check it out its free on unity assetstore
Your answer
Follow this Question
Related Questions
Unity Animation performance massive drop 1 Answer
Animating a Panel,Animating a panel 1 Answer
Make Animation Loop X Times C# 2 Answers
how to make ui button run an animation 0 Answers
Create an Avatar (for Animator) for UI? 0 Answers