public AnimationCurve GetCustomCurve (AudioSourceCurveType type);

파라미터

typeThe curve type to get.

반환

AnimationCurve The custom AnimationCurve corresponding to the given curve type.

설명

Get the current custom curve for the given AudioSourceCurveType.

Note that if there is no curve set, or the corresponding curve type value setter has been set, a single key AnimationCurve will be returned corresponding to the current value.