# Getting GUI features on event instances within the same script?

**URL:** <https://qa.fmod.com/t/getting-gui-features-on-event-instances-within-the-same-script/15109>\
**Category:** Unity\
**Created:** [October 7, 2019, 11:03am UTC](https://qa.fmod.com/t/getting-gui-features-on-event-instances-within-the-same-script/15109 "2019-10-07T11:03:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oversal](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@Oversal](https://qa.fmod.com/u/Oversal)\
**Post date:** [October 7, 2019, 11:03am UTC](https://qa.fmod.com/t/getting-gui-features-on-event-instances-within-the-same-script/15109/1 "2019-10-07T11:03:19Z")

</div>

Firstly I’d like to apologise if this has already been answered, I have no idea how to ask this without using visual cues therefore I also don’t know how to search this.

I am struggling to get the GUI components that come with event instances in the Unity inspector to show for more than 1 event instance. Was wondering if anyone knows the (I am sure) simple fix to this problem?

See attached 🙂

 ![pic](https://canada1.discourse-cdn.com/flex036/uploads/fmod/original/1X/374c4853f67780d941a96142026982244ffe5c3b.png)

---

<div class="post-metadata">

**Author:** ![alexzzen](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/alexzzen/32/6825_2.png) [@alexzzen](https://qa.fmod.com/u/alexzzen)\
**Post date:** [October 7, 2019, 11:42am UTC](https://qa.fmod.com/t/getting-gui-features-on-event-instances-within-the-same-script/15109/2 "2019-10-07T11:42:52Z")

</div>

You have to add the `[FMODUnity.EventRef]` attribute to each property declaration. You just added the attribute to the first string. Copy and paste the attribute to the other strings as well.

---

<div class="post-metadata">

**Author:** ![Oversal](https://avatars.discourse-cdn.com/v4/letter/o/f4b2a3/32.png) [@Oversal](https://qa.fmod.com/u/Oversal)\
**Post date:** [October 7, 2019, 12:20pm UTC](https://qa.fmod.com/t/getting-gui-features-on-event-instances-within-the-same-script/15109/3 "2019-10-07T12:20:16Z")

</div>

Thank you \<3
