Initial Commit: CC - SnailRunner - Entity Loaded (3csgf2ng51.js)

beta.r3js.org
-=yb4f310 2018-03-08 11:44:29 +01:00
parent e60113c39b
commit 46a3b3b7f1
1 changed files with 27 additions and 0 deletions

27
3csgf2ng51.js Normal file
View File

@ -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