Legacy Documentation: Version 5.1
LanguageEnglish
  • C#
  • JS

Script language

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

AudioEchoFilter.delay

Switch to Manual
public var delay: float;

Description

Echo delay in ms. 10 to 5000. Default = 500.

	// Set the delay on the chorus filter to the max working value.

@script RequireComponent(AudioSource) @script RequireComponent(AudioEchoFilter)

function Start() { GetComponent.<AudioEchoFilter>().delay = 5000; }