public ATweener(T1 begin, T1 end, float duration, Func <T2> getter, Action <T2> setter, ITweenPlugin <T1, T2> plugin) { ATween.Initialize(); this.begin = begin; this.end = end; this.duration = duration; this.getter = getter; this.setter = setter; this.ease = ATween.DefaultEase; this.plugin = plugin; this.ignoreTimeScale = ATween.IgnoreTimeScale; }
public AccelerationComponent(double power, double duration, IEase ease) { Duration = duration; Power = power; Ease = ease; }
IATweener IATweener.SetEase(IEase ease) { return(SetEase(ease)); }
public ATweener <T1, T2> SetEase(AnimationCurve animationCurve) { this.ease = new ATweening.Core.AnimationCurveEase(animationCurve); return(this); }
public ATweener <T1, T2> SetEase(IEase ease) { this.ease = ease; return(this); }