AudioChorusFilter
.delay
Manual
Reference
Scripting
Scripting
>
Runtime Classes
>
AudioChorusFilter
AudioChorusFilter
.delay
Menu
Overview
Runtime Classes
Attributes
Enumerations
Editor Classes
Enumerations
History
Index
AudioChorusFilter
All Members
Variables
delay
depth
dryMix
feedback
rate
wetMix1
wetMix2
wetMix3
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
Chorus delay in ms. 0.1 to 100.0. Default = 40.0 ms.
JavaScripts
JavaScript
C#
Boo
// 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