예제 #1
0
        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;
        }
예제 #2
0
 public AccelerationComponent(double power, double duration, IEase ease)
 {
     Duration = duration;
     Power    = power;
     Ease     = ease;
 }
예제 #3
0
 IATweener IATweener.SetEase(IEase ease)
 {
     return(SetEase(ease));
 }
예제 #4
0
 public ATweener <T1, T2> SetEase(AnimationCurve animationCurve)
 {
     this.ease = new ATweening.Core.AnimationCurveEase(animationCurve);
     return(this);
 }
예제 #5
0
 public ATweener <T1, T2> SetEase(IEase ease)
 {
     this.ease = ease;
     return(this);
 }