Version: 5.4
public float elasticity ;

説明

コンテンツがスクロール矩形を越えて移動するときに使用する弾力性の量。

デフォルトでは 0.1 です。elasticity は ::movementType が Elastic に設定されている場合のみしようされます。

using UnityEngine;
using System.Collections;
using UnityEngine.UI;

public class ExampleClass : MonoBehaviour { public ScrollRect myScrollRect; public void Start () { // assigns a new value to the elasticity of the scroll rect. // The higher the number the longer it takes to snap back. myScrollRect.elasticity = 3.0f; } }