Update: entity_loaded (2c1eswtjvb.js) 198 bytes modified
parent
968804f3eb
commit
7fa9394157
|
@ -8,10 +8,15 @@ if (data.entity === this.parentEntity) {
|
||||||
* Code Components
|
* Code Components
|
||||||
*/
|
*/
|
||||||
this.beforeRender = R3.EntityManager.Instance.findComponentById('y2q95ipdcf');
|
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;
|
this.beforeRender.entityLoaded = this;
|
||||||
|
|
||||||
R3.CustomCode.prototype.render = function(delta) {
|
R3.CustomCode.prototype.render = function(delta) {
|
||||||
|
|
||||||
|
this.innerCircle.rotation.y += delta;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return null;
|
return null;
|
||||||
|
|
Loading…
Reference in New Issue