Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


wetMix

Volume of echo signal to pass to output. 0.0 to 1.0. Default = 1.0.
Read time 1 minuteLast updated 4 days ago

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.AudioModule
public float wetMix { get; set; }

Examples

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; }}