Update: CC - Flame Particle Process - Forward Only (vaq8lxuek1.js) 50 bytes modified

beta.r3js.org
-=yb4f310 2017-11-13 05:15:56 +01:00
parent 71c1b924a2
commit 8a2cc2e5d2
1 changed files with 2 additions and 3 deletions

View File

@ -7,7 +7,7 @@ var texture = GameLib.EntityManager.Instance.findComponentById('gm3fvv45dl');
if (!this.initialized) {
texture.offset.x = 0;
texture.offset.y = 0;
texture.updateInstance();
texture.updateInstance('offset');
this.initialized = true;
return;
}
@ -23,8 +23,7 @@ if (texture.offset.x >= 0.9) {
}
}
texture.instance.offset.x = texture.offset.x;
texture.instance.offset.y = texture.offset.y;
texture.updateInstance('offset');
//texture.updateInstance();