Legacy Documentation: Version 4.6(go to latest)
Language: English
  • C#
  • JS
  • Boo

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

UI.ScrollRect.elasticity

Switch to Manual
public var elasticity: float;

Description

The amount of elasticity to use when the content moves beyond the scroll rect.

The default is 0.1. Elasticity is only used when the movementType is set to Elastic.