Making an audio game in Unity

I’m trying to make an audio game where by players can tell the position of an object listening to whether the right or left speaker is playing the audio.

The idea is:

If the object is on the left hand side

Play the audio of that object through the left speaker

Right hand side = right speaker

How would I do this in Unity?

I think that Unity is already doing that for you.
The “SoundSource” is a Component on a GameObject.
So is the “AudioListener” (in most cases on the same GameObject as the Camera).
If the “SoundSource-GameObject” is to the left of the “Camer/AudioListener-GameObject”, then the sound should come from your left. I haven´t tested that, but that´s the way I understood it.