DRY the hands HTML since they are symmetrical

This commit is contained in:
Kevin Ngo
2018-09-20 05:32:29 -07:00
parent 0d5da6564f
commit e007158fb8
2 changed files with 19 additions and 29 deletions

View File

@@ -1,6 +1,5 @@
AFRAME.registerComponent('saber-controls', {
schema: {
activeHand: {default: 'right'},
hand: {default: 'right', oneOf: ['left', 'right']},
bladeEnabled: {default: true}
},