AudioEchoFilter
.delay
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
AudioEchoFilter
AudioEchoFilter
.delay
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
AudioEchoFilter
All Members
Variables
decayRatio
delay
dryMix
wetMix
Inherited Variables
animation
audio
camera
collider
constantForce
enabled
gameObject
guiText
guiTexture
hideFlags
hingeJoint
light
name
networkView
particleEmitter
renderer
rigidbody
tag
transform
Inherited Functions
BroadcastMessage
CompareTag
GetComponent
GetComponent.<T>
GetComponentInChildren
GetComponentInChildren.<T>
GetComponents
GetComponents.<T>
GetComponentsInChildren
GetComponentsInChildren.<T>
GetInstanceID
SendMessage
SendMessageUpwards
ToString
Inherited Class Functions
Destroy
DestroyImmediate
DontDestroyOnLoad
FindObjectOfType
FindObjectsOfType
Instantiate
Instantiate.<T>
operator !=
operator ==
operator bool
var
delay :
float
Description
Echo delay in ms. 10 to 5000. Default = 500.
JavaScripts
JavaScript
C#
Boo
// Set the delay on the chorus filter to the max working value.
@script
RequireComponent
(
AudioSource
)
@script
RequireComponent
(AudioEchoFilter)
function
Start
() {
GetComponent(AudioEchoFilter).delay = 5000;
}
using UnityEngine;
using System.Collections;
[
RequireComponent
(typeof(
AudioSource
))]
[
RequireComponent
(typeof(AudioEchoFilter))]
public
class
example :
MonoBehaviour
{
void
Start
() {
GetComponent<AudioEchoFilter>().delay = 5000;
}
}
import
UnityEngine
import
System.Collections
[
RequireComponent
(
AudioSource
)]
[
RequireComponent
(AudioEchoFilter)]
class
example(
MonoBehaviour
):
def
Start
():
GetComponent[of AudioEchoFilter]().delay = 5000