AudioEchoFilter.delay 延迟

var delay : float

Description描述

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

以毫秒为单位回声延迟。10~5000,默认=500。

using UnityEngine;
using System.Collections;

public class example : MonoBehaviour {
	void Start() {
		GetComponent<AudioEchoFilter>().delay = 5000;
	}
}
// Set the delay on the chorus filter to the max working value.
//在合声滤波器设置延迟到最大值
@script RequireComponent(AudioSource)
@script RequireComponent(AudioEchoFilter)

function Start() {
	GetComponent(AudioEchoFilter).delay = 5000;
}
Page last updated: 2011-1-10