public float delay ;

描述

回声延时,以 ms 为单位。范围从 10 到 5000。默认值为 500。

using UnityEngine;

[RequireComponent(typeof(AudioSource))] [RequireComponent(typeof(AudioEchoFilter))] public class Example : MonoBehaviour { // Set the delay on the chorus filter to the max working value.

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