标签:
ParticleSystem.Particle[] particles = new ParticleSystem.Particle[particleSystem.particleCount];
particleCount = particleSystem.GetParticles(particles);
for(int i = 0; i < particleCount; i++)
{
particles[i].velocity = new Vector3(particleSpeed, 0, 0);
}
particleSystem.SetParticles(particles, particleCount);
标签:
原文地址:http://www.cnblogs.com/misterjoker/p/4444763.html