Update: entity_loaded (2c1eswtjvb.js) 198 bytes modified

beta.r3js.org
cybafelo 2019-06-23 08:55:27 +00:00
parent 968804f3eb
commit 7fa9394157
1 changed files with 5 additions and 0 deletions

View File

@ -8,10 +8,15 @@ if (data.entity === this.parentEntity) {
* Code Components
*/
this.beforeRender = R3.EntityManager.Instance.findComponentById('y2q95ipdcf');
this.innerCircle = R3.EntityManager.Instance.findComponentById('ix41c5pelj');
this.outerCircle = R3.EntityManager.Instance.findComponentById('zx8oaonomw');
this.beforeRender.entityLoaded = this;
R3.CustomCode.prototype.render = function(delta) {
this.innerCircle.rotation.y += delta;
}
return null;