Hide saber blade when song menu is open

This commit is contained in:
Diego Marcos
2018-09-14 12:51:20 -07:00
parent f60d70995b
commit 9554ada7ba
2 changed files with 19 additions and 11 deletions

View File

@@ -49,12 +49,14 @@
saber-controls="hand: left"
proxy-event__pause="event: menudown; to: a-scene; as: pause"
proxy-event__pauserifta="event: abuttondown; to: a-scene; as: pause"
proxy-event__pauseriftb="event: bbuttondown; to: a-scene; as: pause"></a-entity>
proxy-event__pauseriftb="event: bbuttondown; to: a-scene; as: pause"
bind__saber-controls="bladeEnabled: !menu.active"></a-entity>
<a-entity id="rightHand"
saber-controls="hand: right"
proxy-event__pause="event: menudown; to: a-scene; as: pause"
proxy-event__pauseriftx="event: xbuttondown; to: a-scene; as: pause"
proxy-event__pauserifty="event: ybuttondown; to: a-scene; as: pause"></a-entity>
proxy-event__pauserifty="event: ybuttondown; to: a-scene; as: pause"
bind__saber-controls="bladeEnabled: !menu.active"></a-entity>
</a-entity>
<a-entity id="mouseCursor" mixin="raycaster" cursor="rayOrigin: mouse" debug-cursor