if (this.parentEntity === data.entity) { console.log('Entity SpoonLib Loaded'); this.animationSystem = R3.EntityManager.Instance.queryComponents(R3.Component.SYSTEM_ANIMATION)[0]; this.beforeRender = R3.EntityManager.Instance.findComponentById('uou2i9be9r'); this.touchStart = R3.EntityManager.Instance.findComponentById('9m43m5angb'); this.touchMove = R3.EntityManager.Instance.findComponentById('ktf4wzckvh'); this.touchEnd = R3.EntityManager.Instance.findComponentById('r17o00dvgo'); this.mouseUp = R3.EntityManager.Instance.findComponentById('abw1ga2etc'); this.mouseDown = R3.EntityManager.Instance.findComponentById('f3b90qedii'); this.mouseWheel = R3.EntityManager.Instance.findComponentById('opxis1pjmo'); this.mouseMove = R3.EntityManager.Instance.findComponentById('arswdj0syh'); this.cylinder = R3.EntityManager.Instance.findComponentById('xtnu5j78bq'); this.keyUp = R3.EntityManager.Instance.findComponentById('opxis1pjmo'); this.camera = R3.EntityManager.Instance.findComponentById('32sdim4koy'); this.textCanvas = R3.EntityManager.Instance.findComponentById('c8tk5ha6nw'); this.textTexture = R3.EntityManager.Instance.findComponentById('eprfl2ynkx'); this.particleEngine = R3.EntityManager.Instance.findComponentById('l60d7ra270'); this.particle = R3.EntityManager.Instance.findComponentById('mvo0gyajun'); this.camera2d = R3.EntityManager.Instance.findComponentById('majq7lytaz'); this.audioDrone = R3.EntityManager.Instance.findComponentById('4m7djsbvpf'); this.beforeRender.entityLoaded = this; this.keyUp.entityLoaded = this; this.touchStart.entityLoaded = this; this.touchMove.entityLoaded = this; this.touchEnd.entityLoaded = this; this.mouseUp.entityLoaded = this; this.mouseDown.entityLoaded = this; this.mouseWheel.entityLoaded = this; this.mouseMove.entityLoaded = this; R3.Event.Emit( R3.Event.PLAY_AUDIO, { name : 'Audio - Drone' } ); } //@ sourceURL=SpoonLibEntityLoaded.js