play audio with out attach

Hi
just need to know how can I play a sound
maybe on trigger enter … but without attach to the game object please ?

thanks a lot

any idea?
thanks

You can use a static method of the AudioSource class:

AudioSource.PlayClipAtPoint(clip, transform.position);