Play sound when looking at enemy?

as title says. Plz tell me how to do this :slight_smile:

Unity - Scripting API: Renderer.isVisible and Unity - Scripting API: AudioSource.Play