22 lines
430 B
JavaScript
22 lines
430 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');
|
|
|
|
/**
|
|
* Activate our custom code components
|
|
*/
|
|
this.beforeRender.entityLoaded = this;
|
|
|
|
//@ sourceURL=entityLoaded.js
|