Skip to content

Commit

Permalink
Add an interface for checking isDragging
Browse files Browse the repository at this point in the history
  • Loading branch information
0kk470 committed Jun 6, 2019
1 parent 9023fa1 commit 5553000
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/Scripts/LoopScrollRect.cs
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ protected RectTransform viewRect
public Vector2 velocity { get { return m_Velocity; } set { m_Velocity = value; } }

private bool m_Dragging;
public bool isDragging { get{ return m_Dragging;}}

private Vector2 m_PrevPosition = Vector2.zero;
private Bounds m_PrevContentBounds;
Expand Down

0 comments on commit 5553000

Please sign in to comment.