Version: 5.4
public float decelerationRate ;

説明

移動速度が遅くなる割合。

decelerationRate は毎秒の減速率です。0.5 で毎秒速度を半分にします。デフォルトの値は 0.135 です。decelerationRate は inertia が有効な時のみ使用される値です。

using UnityEngine;
using System.Collections;
using UnityEngine.UI; // Required when Using UI elements.

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