Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


delay

Echo delay in ms. 10 to 5000. Default = 500.
Read time 1 minuteLast updated 5 days ago

Definition

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

Examples

using UnityEngine;[RequireComponent(typeof(AudioSource))][RequireComponent(typeof(AudioEchoFilter))]public class Example : MonoBehaviour{ // Set the delay on the chorus filter to the max working value. void Start() { GetComponent<AudioEchoFilter>().delay = 5000f; }}