Hello, i had a script that i made it in javascript, and now i am trying to learn C#, because i think its more used, and . So i am trying to disable a AudioListener from a camera that has been defined using:
public GameObject PlayerCamera;
and i am trying to disable it using this line
PlayerCamera.AudioListener.enabled = false; // will not work
What is the correct way of using this ?