Initial Commit: CC - SnailRunner - Entity Loaded (78gnds8jrj.js)
parent
37f62c6d70
commit
3fe08c688f
|
@ -0,0 +1,27 @@
|
||||||
|
if (data.entity === this.parentEntity) {
|
||||||
|
console.log('snail runner loaded');
|
||||||
|
} else {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Custom Code Components
|
||||||
|
*/
|
||||||
|
this.beforeRender = GameLib.EntityManager.Instance.findComponentById('94xi7aitax');
|
||||||
|
this.mouseMove = GameLib.EntityManager.Instance.findComponentById('jz3qg0174l');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Meshes
|
||||||
|
*/
|
||||||
|
this.road = GameLib.EntityManager.Instance.findComponentById('zhrnmn1spo');
|
||||||
|
this.snail = GameLib.EntityManager.Instance.findComponentById('z2izbq1hcz');
|
||||||
|
this.cloud = GameLib.EntityManager.Instance.findComponentById('jbvm17iwfx');
|
||||||
|
this.solar = GameLib.EntityManager.Instance.findComponentById('lq5xyiu8n4');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Activate our custom code components
|
||||||
|
*/
|
||||||
|
this.beforeRender.entityLoaded = this;
|
||||||
|
this.mouseMove.entityLoaded = this;
|
||||||
|
|
||||||
|
//@ sourceURL=entityLoaded.js
|
Loading…
Reference in New Issue