optimize menu pagination performance
This commit is contained in:
@@ -49,15 +49,15 @@
|
||||
<a-entity id="camera" position="0 1.6 0.5" camera look-controls wasd-controls></a-entity>
|
||||
<a-entity id="leftHand"
|
||||
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"
|
||||
proxy-event__pause="event: menudown; to: a-scene; as: pausegame"
|
||||
proxy-event__pauserifta="event: abuttondown; to: a-scene; as: pausegame"
|
||||
proxy-event__pauseriftb="event: bbuttondown; to: a-scene; as: pausegame"
|
||||
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"
|
||||
proxy-event__pause="event: menudown; to: a-scene; as: pausegame"
|
||||
proxy-event__pauseriftx="event: xbuttondown; to: a-scene; as: pausegame"
|
||||
proxy-event__pauserifty="event: ybuttondown; to: a-scene; as: pausegame"
|
||||
bind__saber-controls="bladeEnabled: !menu.active"
|
||||
bind__line="visible: menu.active"></a-entity>
|
||||
</a-entity>
|
||||
|
||||
Reference in New Issue
Block a user