Version: 2019.1
public AnimationCurve GetCustomCurve (AudioSourceCurveType type);

Parameters

typeThe curve type to get.

Returns

AnimationCurve The custom AnimationCurve corresponding to the given curve type.

Description

Устанавливает коэффициент Доплера для выбранного источника звука AudioSorce.

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.