Chorus delay in ms. 0.1 to 100.0. Default = 40.0 ms.
// Dont use delay on the filter. @script RequireComponent(AudioSource) @script RequireComponent(AudioChorusFilter) function Start() { GetComponent(AudioChorusFilter).delay = 0.1; }
using UnityEngine; using System.Collections; [RequireComponent(typeof(AudioSource))] [RequireComponent(typeof(AudioChorusFilter))] public class Example : MonoBehaviour { void Start() { GetComponent<AudioChorusFilter>().delay = 0.1F; } }
import UnityEngine import System.Collections [RequireComponent(typeof(AudioSource))] [RequireComponent(typeof(AudioChorusFilter))] public class Example(MonoBehaviour): def Start() as void: GetComponent[of AudioChorusFilter]().delay = 0.1F