work in progress [might break]
This commit is contained in:
parent
43ebcbb5e1
commit
5a51eaa59d
|
@ -3,7 +3,7 @@ AFRAME.registerComponent('helloworld', {
|
||||||
|
|
||||||
init: function () {
|
init: function () {
|
||||||
|
|
||||||
let obj = this.object3D
|
let obj = this.el.object3D
|
||||||
|
|
||||||
// entrypoint for single-file xrshell/THREE/AFRAME components
|
// entrypoint for single-file xrshell/THREE/AFRAME components
|
||||||
obj.addEventListener('xrshell', (opts) => {
|
obj.addEventListener('xrshell', (opts) => {
|
||||||
|
|
Loading…
Reference in New Issue