Audio reverb zone

Hi,

I am trying to do a very simple thing. I am trying to change the properties of the audioreverbzone. I have checked the scripting reference and I know how to change properties of other objects but for some reason I can not access any of the properties of audioreverbzones.

So here is a part of my code:

private var world = GameObject.Find (“Reverb Zone”);
private var local = GameObject.Find(“localzone1”);

so I want to change world’s setting with the local’s setting (they are both audioreverbzone objects)

world.reverbPreset = local.reverbPreset;

and it does not work. I have tried other properties, I have tried putting the reverb zones inside an object (world.AudioReverbZone.reverbPreset) but no luck. And I have not seen anybody with the same problem on web.

And the console warnings say (not all at the same time):

An instance of type ‘UnityEngine.AudioReverbZone’ is required to access non static member ‘reverbPreset’.
‘AudioReverbZone’ is not a member of ‘UnityEngine.GameObject’.
‘reverbPreset’ is not a member of ‘UnityEngine.GameObject’.

Any help would be appreciated.
Thanks

Thank you!

did you actually get this working or did you say thank you because he pointed out the obvious and didnt actually help at all?

Reverb is pro only.

you know its funny i got it working, but the sound doesnt change when you listen. its the same. i switch between psychotic and padded room and it reads back in debug.log correctly but the sounds dont actually change. can someone please confirm this? i can make a video to prove my point.

ah ok thanks. finally i can move on from this problem.