November 2019
Intermediate to advanced
404 pages
12h 9m
English
The Canvas will always need to regenerate the entire ScrollRect element even if the velocity is moving by a fraction of a pixel each frame. We can manually freeze its motion once we detect that its velocity is below a certain threshold using ScrollRect.velocity and ScrollRect.StopMovement(). This can help to reduce the frequency of regeneration a great deal.
Read now
Unlock full access