public TweenFactory TweenPosition(Vector3 targetPosition, float speed, EasingType easingType) { _positionData = new TweenData { Speed = speed, Type = easingType, Value = targetPosition, IsActive = true }; return(this); }
public TweenFactory TweenColor(Color color, float speed, EasingType easingType) { _colorData = new TweenData { Speed = speed, Type = easingType, Value = color, IsActive = true }; return(this); }
public TweenFactory TweenScale(Vector3 targetScale, float speed, EasingType easingType) { _scaleData = new TweenData { Speed = speed, Type = easingType, Value = targetScale, IsActive = true }; return(this); }