update data ref on render generic ps
This commit is contained in:
parent
232edb1b41
commit
adcf0960b6
1 changed files with 2 additions and 3 deletions
|
@ -302,10 +302,9 @@ static class Arts
|
|||
}
|
||||
|
||||
// particles
|
||||
Particle[] particles = VFX.particles;
|
||||
for (int i = 0; i < particles.Length; i++)
|
||||
for (int i = 0; i < VFX.ps.count; i++)
|
||||
{
|
||||
Particle particle = particles[i];
|
||||
Particle particle = VFX.ps.particles[i];
|
||||
Mesh.Sphere.Draw(
|
||||
mat_unlit,
|
||||
Matrix.TRS(
|
||||
|
|
Loading…
Add table
Reference in a new issue