AudioChorusFilter.delay

var delay : float

Description

Chorus delay in ms. 0.1 to 100.0. Default = 40.0 ms.

JavaScript
// 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(AudioSource)]
[RequireComponent(AudioChorusFilter)]
class example(MonoBehaviour):

def Start():
GetComponent[of AudioChorusFilter]().delay = 0.1F