Update: CC - Flame Particle Process - Forward Only (vaq8lxuek1.js) 50 bytes modified
parent
71c1b924a2
commit
8a2cc2e5d2
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue