File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -293,6 +293,7 @@ public void Start(float? duration = null)
293293 Stop ( ) ;
294294 }
295295
296+ // Set a new duration if not-null parameter provided
296297 if ( duration != null )
297298 {
298299 if ( duration . Value < 0f )
@@ -354,7 +355,7 @@ public object GetTweenedValueAt(float progress)
354355 [ Pure ]
355356 public override string ToString ( )
356357 {
357- return $ "{ StartValue } -> { EndValue } over { TotalDuration } seconds{ ( IsActive ? $ " ({ GetProgress ( ) * 100 : 0.0} %: { CurrentValue ?? "-" } ){ ( IsPaused ? " [Paused]" : "" ) } " : "" ) } ";
358+ return $ "{ StartValue } to { EndValue } over { TotalDuration } seconds{ ( IsActive ? $ " ({ GetProgress ( ) * 100 : 0.0} %: { CurrentValue ?? "-" } ){ ( IsPaused ? " [Paused]" : "" ) } " : "" ) } ";
358359 }
359360
360361 /// <summary>
You can’t perform that action at this time.
0 commit comments