public float wetMix;
Описание
Громкость эхо-сигнала для передачи на выход. от 0,0 до 1,0. По умолчанию = 1,0.
using UnityEngine;
[RequireComponent(typeof(AudioSource))]
[RequireComponent(typeof(AudioEchoFilter))]
public class Example : MonoBehaviour
{
// Mixes both Echo generated sound and the original audio source
// if you set the wetMix to 0 you will not have Echo sounds.
void Start()
{
GetComponent<AudioEchoFilter>().wetMix = 1.0f;
GetComponent<AudioEchoFilter>().dryMix = 1.0f;
}
}