Skip to content

Commit

Permalink
Add todos for UI carousel scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Kostya Stankevych committed Jun 28, 2016
1 parent 4d173d6 commit c8f2264
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,9 @@ public void Update(float deltaTime)

public void Drag(float delta)
{
// TODO: delta here are screen pixels
// TODO: so we need to convert those pixels either in canvas pixels
// or in world units (depending on the pivot)
TargetScrollPosition += delta * _dragScale;
}

Expand Down

0 comments on commit c8f2264

Please sign in to comment.