From 3fe08c688f0148a3e7d0597f0d123838f2e80b13 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Fri, 9 Mar 2018 00:36:32 +0100 Subject: [PATCH] Initial Commit: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) --- 78gnds8jrj.js | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 78gnds8jrj.js diff --git a/78gnds8jrj.js b/78gnds8jrj.js new file mode 100644 index 0000000..36c00ec --- /dev/null +++ b/78gnds8jrj.js @@ -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 \ No newline at end of file