Skip to content

Commit

Permalink
Merge pull request #75 from PixelPirate/master
Browse files Browse the repository at this point in the history
Changed timeScale from int to float
  • Loading branch information
prime31 committed Feb 10, 2016
2 parents fbcbc4b + 61266a1 commit c5ab4b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Assets/Plugins/GoKit/GoTweenConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ public class GoTweenConfig
public int id; // id for finding the Tween at a later time. multiple Tweens can have the same id
public float delay; // how long should we delay before starting the Tween
public int iterations = 1; // number of times to iterate. -1 will loop indefinitely
public int timeScale = 1;
public float timeScale = 1.0f;
public GoLoopType loopType = Go.defaultLoopType;
public GoEaseType easeType = Go.defaultEaseType;
public AnimationCurve easeCurve;
Expand Down Expand Up @@ -502,7 +502,7 @@ public GoTweenConfig setIterations( int iterations, GoLoopType loopType )
/// <summary>
/// sets the timeScale to be used by the Tween
/// </summary>
public GoTweenConfig setTimeScale( int timeScale )
public GoTweenConfig setTimeScale( float timeScale )
{
this.timeScale = timeScale;

Expand Down

0 comments on commit c5ab4b5

Please sign in to comment.