23 lines
507 B
JavaScript
23 lines
507 B
JavaScript
|
if (data.entity === this.parentEntity) {
|
||
|
console.log('snail runner loaded');
|
||
|
} else {
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
/**
|
||
|
* Custom Code Components
|
||
|
*/
|
||
|
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('rlley2ki2i');
|
||
|
|
||
|
/**
|
||
|
* Meshes
|
||
|
*/
|
||
|
this.road = GameLib.EntityManager.Instance.findComponentById('07f38e7wvv');
|
||
|
this.snail = GameLib.EntityManager.Instance.findComponentById('dbpoic48wm');
|
||
|
|
||
|
/**
|
||
|
* Activate our custom code components
|
||
|
*/
|
||
|
this.beforeRender.entityLoaded = this;
|
||
|
|
||
|
//@ sourceURL=entityLoaded.js
|