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

# Set Audio Reverb Zone Reflections

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

## Description

Sets the Reflections property of Audio Reverb Zone component

## Parameters

| Name | Description |
| :--- | :---------- |
| Audio Reverb Zone |  |
| 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("Set Audio Reverb Zone Reflections")]
    [Category("Audio/Effects/Audio Reverb Zone/Reflections")]
    [Description("Sets the Reflections property of Audio Reverb Zone component")]
    
    [Image(typeof(IconReverb), ColorTheme.Type.Yellow, typeof(BadgeFloor))]
    [Keywords("Audio, Sound, Music, Ambient, Sfx, Echo")]
    
    [Parameter("Audio Reverb Zone")]
    [Parameter("Value")]
    
    [Serializable]
    public class GenInstructionInteger_AudioReverbZone_SetReflections : Instruction
    {
        [SerializeField] private GetGameObject m_AudioReverbZone = new GetGameObject(
            new GenTypeGameObject_AudioReverbZone()
        );
        
        [SerializeField] private GetInteger m_Value = new GetInteger();
        
        protected override string GetTitle(GameObject source)
        {
            string member = TextUtils.ThemeAsKeyword("Reflections");
            return $"{this.m_AudioReverbZone} {member} = {this.m_Value}";
        }
        
        protected override Awaitable Run(Args args)
        {
            AudioReverbZone component = this.m_AudioReverbZone.Get<AudioReverbZone>(args);
            if (component == null) return Done;
            
            component.reflections = (int) this.m_Value.Get(args);
            
            return Done;
        }
    }
}


```

