Initial Commit: CC - SnailRunner - Entity Loaded (3csgf2ng51.js)
parent
e60113c39b
commit
46a3b3b7f1
|
@ -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('m0ee24mqoy');
|
||||||
|
this.mouseMove = GameLib.EntityManager.Instance.findComponentById('sossh1zbtq');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Meshes
|
||||||
|
*/
|
||||||
|
this.road = GameLib.EntityManager.Instance.findComponentById('zhrnmn1spo');
|
||||||
|
this.snail = GameLib.EntityManager.Instance.findComponentById('q7jfofpn27');
|
||||||
|
this.cloud = GameLib.EntityManager.Instance.findComponentById('78z72xqfhg');
|
||||||
|
this.solar = GameLib.EntityManager.Instance.findComponentById('1rqrv0u18w');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Activate our custom code components
|
||||||
|
*/
|
||||||
|
this.beforeRender.entityLoaded = this;
|
||||||
|
this.mouseMove.entityLoaded = this;
|
||||||
|
|
||||||
|
//@ sourceURL=entityLoaded.js
|
Loading…
Reference in New Issue