fix game menu button binds
This commit is contained in:
@@ -38,7 +38,7 @@
|
||||
<a-entity
|
||||
id="restartButton"
|
||||
bind-toggle__raycastable="isPaused || isGameOver"
|
||||
bind-visible="isPaused || isGameOver"
|
||||
bind__visible="isPaused || isGameOver"
|
||||
mixin="gameMenuButton"
|
||||
proxy-event="event: click; to: a-scene; as: gamemenurestart">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: RESTART SONG"></a-entity>
|
||||
@@ -48,7 +48,7 @@
|
||||
id="exitButton"
|
||||
mixin="gameMenuButton"
|
||||
bind-toggle__raycastable="isPaused || isGameOver || isVictory"
|
||||
bind-visible="isPaused || isGameOver || isVictory"
|
||||
bind__visible="isPaused || isGameOver || isVictory"
|
||||
position="0 -0.35 0"
|
||||
proxy-event="event: click; to: a-scene; as: gamemenuexit">
|
||||
<a-entity mixin="gameMenuButtonText" text="value: EXIT TO MENU"></a-entity>
|
||||
|
||||
Reference in New Issue
Block a user