예제 #1
0
 protected override void OnAnimate()
 {
     UIObject.Position(
         position: BezierHelper.Cubic(EasingTime, FirstPoint, SecondPoint, ThirdPoint, FourthPoint),
         anchor: Anchor.GetValueOrDefault(UIObject.Anchor),
         relativeTo: RelativeTo
         );
 }
예제 #2
0
 public override void Animate()
 {
     transform.Position(
         BezierHelper.Cubic(EasingTime,
                            Settings.FirstPoint,
                            Settings.SecondPoint,
                            Settings.ThirdPoint,
                            Settings.FourthPoint),
         Settings.RelativeTo);
 }