r3-custom-code/uchezypj8k.js

27 lines
752 B
JavaScript

if (data.entity === this.parentEntity) {
console.log('snail runner loaded');
} else {
return;
}
/**
* Custom Code Components
*/
this.beforeRender = R3.EntityManager.Instance.findComponentById('rlley2ki2i');
this.mouseMove = R3.EntityManager.Instance.findComponentById('8nu6b5p9pb');
/**
* Meshes
*/
this.road = R3.EntityManager.Instance.findComponentById('07f38e7wvv');
this.snail = R3.EntityManager.Instance.findComponentById('dbpoic48wm');
this.cloud = R3.EntityManager.Instance.findComponentById('y5ckpgqf0z');
this.solar = R3.EntityManager.Instance.findComponentById('yoy8llsbtn');
/**
* Activate our custom code components
*/
this.beforeRender.entityLoaded = this;
this.mouseMove.entityLoaded = this;
//@ sourceURL=entityLoaded.js