Example #1
0
        override protected void UpdateValue(Easings e, float t, float d)
        {
            var v = Vector2.zero;

            v.x   = e.Calculate(t, from.x, to.x - from.x, d);
            v.y   = e.Calculate(t, from.y, to.y - from.y, d);
            value = v;
        }
        protected override void UpdateValue(Easings e, float t, float d)
        {
            var v = Vector2.zero;

            v.x   = e.Calculate(t, FromValue.x, ToValue.x - FromValue.x, d);
            v.y   = e.Calculate(t, FromValue.y, ToValue.y - FromValue.y, d);
            Value = v;
        }
Example #3
0
 override protected void UpdateValue(Easings e, float t, float d)
 {
     value = e.Calculate(t, from, to - from, d);
 }
Example #4
0
 protected override void UpdateValue(Easings e, float t, float d)
 {
     Value = e.Calculate(t, FromValue, ToValue - FromValue, d);
 }