예제 #1
0
 protected override float GetLatestInitialValueDifference()
 {
     return(thisTargetQuantity / 1f - thisQuantityRoller.GetRollerValue());
 }
 public IncrementalQuantityAnimationInterpolator(int targetQuantity, IQuantityRoller quantityRoller)
 {
     thisSourceRollerValue = quantityRoller.GetRollerValue();
     thisTargetRollerValue = targetQuantity / 1f;
     thisQuantityRoller    = quantityRoller;
 }