Version: 2020.3

ScrollView.scrollDecelerationRate

切换到手册
public float scrollDecelerationRate ;

描述

Controls the rate at which the scrolling movement slows after a user scrolls using a touch interaction.

The deceleration rate is the speed reduction per second. A value of 0.5 halves the speed each second. A value of 0 stops the scrolling immediately.