# Most Simple C# Script to play a sound from FMOD

**URL:** <https://qa.fmod.com/t/most-simple-c-script-to-play-a-sound-from-fmod/16791>\
**Category:** Unity\
**Created:** [February 20, 2021, 8:20pm UTC](https://qa.fmod.com/t/most-simple-c-script-to-play-a-sound-from-fmod/16791 "2021-02-20T20:20:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![mattiaswargren](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/mattiaswargren/32/2922_2.png) [@mattiaswargren](https://qa.fmod.com/u/mattiaswargren)\
**Post date:** [February 24, 2021, 8:52am UTC](https://qa.fmod.com/t/most-simple-c-script-to-play-a-sound-from-fmod/16791/4 "2021-02-24T08:52:20Z")

</div>

Not sure if you are asking for a way to trigger the audio or just play a sound event.

The Unity integration already have a couple of components that lets you select audio events and play based on conditions.

[https://www.fmod.com/resources/documentation-unity?version=2.0&page=game-components.html#studio-event-emitter](https://www.fmod.com/resources/documentation-unity?version=2.0&page=game-components.html#studio-event-emitter)

Otherwise you can just create simple components for your specific needs.

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/b/b0610e1a3baf08d5b8467eaba3dab4a17b5e7c82.png)

![image](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/2X/e/e60d3284ef14909a0b21b43f5d7e59171d9f26bb.png)

---

_[View the full topic](https://qa.fmod.com/t/most-simple-c-script-to-play-a-sound-from-fmod/16791)._
