public UIAnimationSequence RotateX(RectTransform transform, float duration, float from, float to, Func<float, float> easingFunction = null) { UIRotateAnimation animation = transform.RotateX(duration, from, to, easingFunction); Animations.Add(animation); return this; }