2018-10-03 18:06:03 -07:00
|
|
|
<a-mixin
|
|
|
|
|
id="dialogButton"
|
|
|
|
|
mixin="slice"
|
|
|
|
|
bind-toggle__raycastable="isPaused"
|
|
|
|
|
animation__mouseenter="property: components.slice9.material.color; type: color; from: #050505; to: #067197; startEvents: mouseenter; pauseEvents: mouseleave; dur: 150"
|
|
|
|
|
animation__mouseleave="property: components.slice9.material.color; type: color; from: #067197; to: #050505; startEvents: mouseleave; pauseEvents: mouseenter; dur: 150"
|
|
|
|
|
slice9="width: 1; height: 0.27; padding: 0.04"></a-mixin>
|
|
|
|
|
|
|
|
|
|
<a-mixin
|
|
|
|
|
id="dialogButtonText"
|
|
|
|
|
mixin="font"
|
|
|
|
|
position="0 -0.070 0.01"
|
|
|
|
|
text="align: center; wrapCount: 17; color: #AAA"></a-mixin>
|
|
|
|
|
|
2018-10-04 02:21:16 +02:00
|
|
|
<a-entity id="pauseDialog" position="0 1.6 -2" bind__visible="isPaused">
|
2018-10-04 00:20:45 -07:00
|
|
|
<a-entity
|
|
|
|
|
id="resumeButton"
|
|
|
|
|
mixin="dialogButton"
|
|
|
|
|
position="0 0.35 0"
|
|
|
|
|
proxy-event="event: click; to: a-scene; as: pausemenuresume">
|
|
|
|
|
<a-entity mixin="dialogButtonText" text="value: RESUME" position="0 -0.070 0.01"></a-entity>
|
2018-10-03 18:06:03 -07:00
|
|
|
</a-entity>
|
2018-10-04 00:59:47 +02:00
|
|
|
|
2018-10-04 00:20:45 -07:00
|
|
|
<a-entity
|
|
|
|
|
id="restartButton"
|
|
|
|
|
mixin="dialogButton"
|
|
|
|
|
proxy-event="event: click; to: a-scene; as: pausemenurestart">
|
2018-10-03 18:06:03 -07:00
|
|
|
<a-entity mixin="dialogButtonText" text="value: RESTART SONG"></a-entity>
|
|
|
|
|
</a-entity>
|
2018-10-04 00:59:47 +02:00
|
|
|
|
2018-10-04 00:20:45 -07:00
|
|
|
<a-entity
|
|
|
|
|
id="exitButton"
|
|
|
|
|
mixin="dialogButton"
|
|
|
|
|
position="0 -0.35 0"
|
|
|
|
|
proxy-event="event: click; to: a-scene; as: pausemenuexit">
|
2018-10-03 18:06:03 -07:00
|
|
|
<a-entity mixin="dialogButtonText" text="value: EXIT TO MENU" position="0 -0.070 0.01"></a-entity>
|
|
|
|
|
</a-entity>
|
|
|
|
|
</a-entity>
|