From 1632c6edd5829ec18aa238180498ca3cb2fc52a5 Mon Sep 17 00:00:00 2001 From: -=yb4f310 Date: Mon, 12 Feb 2018 09:05:36 +0100 Subject: [PATCH] Initial Commit: CC - Demo New - Entity Loaded (h4ri7b3n05.js) --- h4ri7b3n05.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 h4ri7b3n05.js diff --git a/h4ri7b3n05.js b/h4ri7b3n05.js new file mode 100644 index 0000000..f54d70f --- /dev/null +++ b/h4ri7b3n05.js @@ -0,0 +1,11 @@ +if (this.parentEntity === data.entity) { + + console.log('Entity FSDemo Loaded'); + + this.imageSpoon = GameLib.EntityManager.Instance.findComponentById('jbs9yn11z7'); + this.beforeRender = GameLib.EntityManager.Instance.findComponentById('2xpawazgoz') + + this.beforeRender.entityLoaded = this; +} + +//@ sourceURL=entiyuLoaded.js \ No newline at end of file