play hover sound in game menu

This commit is contained in:
Kevin Ngo
2018-10-12 02:37:27 -07:00
parent 4a2ad1220c
commit a622d7e43c

View File

@@ -13,7 +13,11 @@
<a-entity mixin="dialogButtonText" text="value: GAME OVER; color: #ff7171; width: 4" bind__visible="isGameOver" position="0 1.8 -2.3"></a-entity>
<a-entity id="inGameMenu" position="0 1.6 -2" bind__visible="isGameOver || isPaused || isVictory">
<a-entity
id="inGameMenu"
bind__visible="isGameOver || isPaused || isVictory"
position="0 1.6 -2"
play-sound="event: mouseenter; sound: #hoverSound; volume: 0.03">
<a-entity
id="resumeButton"
mixin="dialogButton"