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