r3-custom-code/x6shtke1dz.js

50 lines
1.8 KiB
JavaScript

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('98ckiy76lb');
this.touchStart = R3.EntityManager.Instance.findComponentById('3hydxnm019');
this.touchMove = R3.EntityManager.Instance.findComponentById('tlfd3vbn9k');
this.touchEnd = R3.EntityManager.Instance.findComponentById('ild66f6e9m');
this.mouseUp = R3.EntityManager.Instance.findComponentById('l5hb4jx1ke');
this.mouseDown = R3.EntityManager.Instance.findComponentById('xcuv7akc4v');
this.mouseWheel = R3.EntityManager.Instance.findComponentById('schmhl1bp5');
this.mouseMove = R3.EntityManager.Instance.findComponentById('n2spe826mj');
this.cylinder = R3.EntityManager.Instance.findComponentById('2jpfk3eve6');
this.camera = R3.EntityManager.Instance.findComponentById('fa2c27w63p');
this.textCanvas = R3.EntityManager.Instance.findComponentById('tba7fmj5ve');
this.textTexture = R3.EntityManager.Instance.findComponentById('b1ygasug5p');
this.particleEngine = R3.EntityManager.Instance.findComponentById('5qvnngmqv6');
this.particle = R3.EntityManager.Instance.findComponentById('p1d8f1q774');
this.camera2d = R3.EntityManager.Instance.findComponentById('w69e7e2mmy');
this.audioDrone = R3.EntityManager.Instance.findComponentById('mau1fe4qw2');
this.beforeRender.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