Is there another way to play sounds instead of the AudioSource component?
I would like to play some simple GUI sounds which, ideally, should be played from a script which is in an object that’s not near the audiolistener.
Is there another way to play sounds instead of the AudioSource component?
I would like to play some simple GUI sounds which, ideally, should be played from a script which is in an object that’s not near the audiolistener.
There’s AudioSource.PlayClipAtPoint(). See also the code examples in the docs for that.
–Eric