public Position(IPositionScaleTween data) : base(data) { TweenEndTarget = _tweenData.StartPosition + _scheme.PixelsToMoveBy; }
public Scale(IPositionScaleTween data) : base(data) { TweenEndTarget = _tweenData.StartSize + _scheme.ChangeBy; }
private protected BasePositionAndScale(IPositionScaleTween data) { _tweenData = data; _scheme = data.Scheme; _id = $"PositionOrScale{data.GameObjectID}"; }