---
tags:
    - "Audio, Sound, Music, Ambient, Sfx, Echo"
---

# Audio Reverb Zone Reflections Delay

[Audio](../../index.md) / [Effects](../index.md) / [Audio Reverb Zone](index.md) / **Audio Reverb Zone Reflections Delay**

## Description

Compares the Reflections Delay property of Audio Reverb Zone component to another value

## Parameters

| Name | Description |
| :--- | :---------- |
| Audio Reverb Zone |  |
| Compare |  |
| Value |  |

## Code

```cs
// <auto-generated>
// This script was automatically generated using the Visual Script Transpiler.
// Do not modify. Changes to this file will be lost when updating the package.
// </auto-generated>

using System;
using UnityEngine;
using VisualScript.Icons;
using UnityEngine.Audio;

namespace VisualScript.Runtime
{
    [Title("Audio Reverb Zone Reflections Delay")]
    [Category("Audio/Effects/Audio Reverb Zone/Reflections Delay")]
    [Description("Compares the Reflections Delay property of Audio Reverb Zone component to another value")]
    
    [Image(typeof(IconReverb), ColorTheme.Type.Yellow, typeof(BadgeFloor))]
    [Keywords("Audio, Sound, Music, Ambient, Sfx, Echo")]
    
    [Parameter("Audio Reverb Zone")]
    [Parameter("Compare")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenConditionNumber_AudioReverbZone_CheckReflectionsDelay : Condition
    {
        [SerializeField] private GetGameObject m_AudioReverbZone = new GetGameObject(
            new GenTypeGameObject_AudioReverbZone()
        );
        
        [SerializeField] private CompareNumber m_Compare = new CompareNumber();
        
        [SerializeField] private GetNumber m_Value = new GetNumber();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Reflections Delay");
            return $"{this.m_AudioReverbZone} {member} {this.m_Compare} {this.m_Value}";
        }
        
        protected override bool Run(Args args)
        {
            AudioReverbZone component = this.m_AudioReverbZone.Get<AudioReverbZone>(args);
            if (component == null) return false;
            
            return this.m_Compare.Compare(component.reflectionsDelay, (float) this.m_Value.Get(args));
        }
    }
}


```

