Legacy Documentation: Version 5.6 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AudioEchoFilter.wetMix

Switch to Manual
public float wetMix;

Description

Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0.

using UnityEngine;
using System.Collections;

[RequireComponent(typeof(AudioSource))] [RequireComponent(typeof(AudioEchoFilter))] public class ExampleClass : MonoBehaviour { void Start() { GetComponent<AudioEchoFilter>().wetMix = 1.0F; GetComponent<AudioEchoFilter>().dryMix = 1.0F; } }