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