Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
Takayasu Oyama committed Nov 4, 2015
1 parent 5ab0148 commit 6a29c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/ScrollSnap.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ public class ScrollSnap : MonoBehaviour, IDragHandler, IEndDragHandler {
[SerializeField] public int currentIndex = 0;
[SerializeField] public float lerpTimeMilliSeconds = 200f;
[SerializeField] public float triggerPercent = 20f;
[Range(0.0f, 10.0f)] public float triggerAcceleration = 2f;
[Range(0f, 10f)] public float triggerAcceleration = 2f;

public delegate void LerpDelegate(Vector2 targetPosition, float transition, int direction);
public LerpDelegate onLerp;
Expand Down

0 comments on commit 6a29c20

Please sign in to comment.