AudioEchoFilter.wetMix
Declaration
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; } }