文档

Unity Engine

Unity Engine

ScrollView.TouchScrollBehavior

The behavior to use when a user tries to scroll past the end of the ScrollView content using a touch interaction.
阅读时间1 分钟最后更新于 1 个月前

Definition

public enum ScrollView.TouchScrollBehavior

Fields

Value

Description

ClampedThe content position is clamped to the ScrollView boundaries.
ElasticThe content position can overshoot the ScrollView boundaries, but then "snaps" back within them.
UnrestrictedThe content position can move past the ScrollView boundaries.