Version: 2020.1
public void SetCustomCurve (AudioSourceCurveType type, AnimationCurve curve);


type 設定する必要がある Curve の型
curve 与えられた Curve の型に適用される Curve


指定された AudioSourceCurveType のカスタムの Curve を設定します。

The curve will be scaled so that it is applied over AudioSource.maxDistance from the AudioSource.

Note that the internal AnimationCurve to be rescaled to range from 0..1 for performance reasons. This means calling AudioSource.GetCustomCurve will return a potentially different curve to what was just set.