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

Script language

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

AudioEchoFilter.dryMix

Switch to Manual
public float dryMix;

Description

Volume of original 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 = 0.0F; } }

Did you find this page useful? Please give it a rating: