Update: CC - SpoonLib - Entity Loaded (60mpr5snmo.js) 367 bytes modified
parent
9e11649593
commit
63e4e28c44
|
@ -1,7 +1,12 @@
|
||||||
if (this.parentEntity === data.entity) {
|
if (this.parentEntity === data.entity) {
|
||||||
console.log('Entity SpoonLib Loaded');
|
console.log('Entity SpoonLib Loaded');
|
||||||
|
|
||||||
this.mouseMove = GameLib.EntityManager.Instance.findComponentById('uou2i9be9r');
|
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('uou2i9be9r');
|
||||||
|
this.touchEnd = GameLib.EntityManager.Instance.findComponentById('r17o00dvgo');
|
||||||
|
|
||||||
|
this.mouseDown = GameLib.EntityManager.Instance.findComponentById('f3b90qedii');
|
||||||
|
this.mouseWheel = GameLib.EntityManager.Instance.findComponentById('opxis1pjmo');
|
||||||
|
|
||||||
this.keyUp = GameLib.EntityManager.Instance.findComponentById('opxis1pjmo');
|
this.keyUp = GameLib.EntityManager.Instance.findComponentById('opxis1pjmo');
|
||||||
this.camera = GameLib.EntityManager.Instance.findComponentById('32sdim4koy');
|
this.camera = GameLib.EntityManager.Instance.findComponentById('32sdim4koy');
|
||||||
this.textCanvas = GameLib.EntityManager.Instance.findComponentById('c8tk5ha6nw');
|
this.textCanvas = GameLib.EntityManager.Instance.findComponentById('c8tk5ha6nw');
|
||||||
|
@ -11,8 +16,11 @@ if (this.parentEntity === data.entity) {
|
||||||
|
|
||||||
this.camera2d = GameLib.EntityManager.Instance.findComponentById('majq7lytaz');
|
this.camera2d = GameLib.EntityManager.Instance.findComponentById('majq7lytaz');
|
||||||
|
|
||||||
this.mouseMove.entityLoaded = this;
|
this.beforeRender.entityLoaded = this;
|
||||||
|
this.mouseWheel.entityLoaded = this;
|
||||||
|
this.touchEnd.entityLoaded = this;
|
||||||
this.keyUp.entityLoaded = this;
|
this.keyUp.entityLoaded = this;
|
||||||
|
this.mouseDown.entityLoaded = this;
|
||||||
}
|
}
|
||||||
|
|
||||||
//@ sourceURL=entitySpoonLibLoaded.js
|
//@ sourceURL=entitySpoonLibLoaded.js
|
Loading…
Reference in New Issue