2018-03-07 16:14:55 +01:00
|
|
|
if (data.entity === this.parentEntity) {
|
|
|
|
console.log('snail runner loaded');
|
|
|
|
} else {
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Custom Code Components
|
|
|
|
*/
|
2018-03-07 16:17:32 +01:00
|
|
|
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('rlley2ki2i');
|
|
|
|
this.mouseMove = GameLib.EntityManager.Instance.findComponentById('8nu6b5p9pb');
|
2018-03-07 16:14:55 +01:00
|
|
|
|
|
|
|
/**
|
|
|
|
* Meshes
|
|
|
|
*/
|
|
|
|
this.road = GameLib.EntityManager.Instance.findComponentById('07f38e7wvv');
|
|
|
|
this.snail = GameLib.EntityManager.Instance.findComponentById('dbpoic48wm');
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Activate our custom code components
|
|
|
|
*/
|
2018-03-07 16:17:32 +01:00
|
|
|
this.beforeRender.entityLoaded = this;
|
|
|
|
this.mouseMove.entityLoaded = this;
|
2018-03-07 16:14:55 +01:00
|
|
|
|
|
|
|
//@ sourceURL=entityLoaded.js
|