AudioEchoFilter.delay

Unity · Версия 2020.3 LTS · Scripting · AudioEchoFilter

AudioEchoFilter.delay

public float delay;

Описание

Задержка эха в мс. От 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;
    }
}

Обновлено 17 ноября 2026 г.