How to use T2DParticleEffectData
by Arden · in Torque X 2D · 02/17/2011 (7:06 pm) · 0 replies
Hey guys, this will seem a bit simple to some of you, but I need some advice:
My problem is that I want to set the lifetime of Temp. You know how to do that?
Thanks
T2DParticleEffect Temp = BallVFX as T2DParticleEffect; Temp.StopEffect (true); // T2DParticleEffectData describes the operation of a T2DParticleEffect. T2DParticleEffectData lifespan = new T2DParticleEffectData(); lifespan.Lifetime = 10f;
My problem is that I want to set the lifetime of Temp. You know how to do that?
Thanks