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