Version: 5.5

AudioSource.GetCustomCurve

Switch to Manual
public AnimationCurve GetCustomCurve (AudioSourceCurveType type);

Parameters

type The 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.