- Home /
Question by
Lasse-Loepfe · Oct 20, 2014 at 05:24 PM ·
animationui4.6animationcurve
Set Animation curve for uGUI elements
Hi, I'm trying to change animation curves of GUI elements. I can change the position & scale using the transform component, but I can not set the curves for the new elements (RectTransform, Image, etc). For instance this does not work:
clip.SetCurve("", typeof(Image), "color.a", AnimationCurve.Linear(0, 0, 1, 1));
I'm using Unity beta 4.6.20.
Thanks Lasse
Comment
Your answer
Follow this Question
Related Questions
(unity 4.6) GUI stuttering during animations 1 Answer
Remove unused animation curves? (Animation.Update() optimizing) 1 Answer
Animator parameter does not pick the value of the animation curve with the same name 2 Answers
Controlling speed of anim replay through an animation curve 1 Answer
Timeline and AnimationClip problem -1 Answers