Update: CC - SnailRunner - Entity Loaded (78gnds8jrj.js) 196 bytes modified
parent
0cc3349e7b
commit
f90d7a7fff
|
@ -25,6 +25,14 @@ this.treesRight = GameLib.EntityManager.Instance.findComponentById('oag0yr1rav')
|
||||||
this.road = GameLib.EntityManager.Instance.findComponentById('4furha3wst');
|
this.road = GameLib.EntityManager.Instance.findComponentById('4furha3wst');
|
||||||
this.sun = GameLib.EntityManager.Instance.findComponentById('nkdyvga5nl');
|
this.sun = GameLib.EntityManager.Instance.findComponentById('nkdyvga5nl');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Lights
|
||||||
|
*/
|
||||||
|
this.spotLight = GameLib.EntityManager.Instance.findComponentById('abkdj2g1f1');
|
||||||
|
|
||||||
|
this.spotLight.position.setFrom(this.sun.position);
|
||||||
|
this.spotLight.updateInstance('position');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Road Sections and Clouds
|
* Road Sections and Clouds
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue