コード例 #1
0
		public UIAnimationSequence FadeTo(RectTransform transform, float duration, float to, Func<float, float> easingFunction = null)
		{
			var animation = new UIDelegateAnimation(() => transform.Fade(duration, transform.GetAlpha(), to, easingFunction));
			Animations.Add(animation);
			return this;
		}