- Home /
Question by
v_christf · Nov 17, 2014 at 03:14 PM ·
particle systemparticle
Can I access the Texture Sheet Animation frame property for a particle?
How can I access a particles texture sheet animation frame or tile position property?
Is there a way to change it or at least get it?
Comment
Answer by SaraCecilia · Nov 17, 2014 at 03:20 PM
GetParticles? http://docs.unity3d.com/ScriptReference/ParticleSystem.GetParticles.html
Similar to your question? http://answers.unity3d.com/questions/391129/particlesystem-how-to-use-texturesheet-with-setpar.html
Tried it, but it won't give me the frame id/int. I need the number of the frame, so I can instantiate a prefab accordingly.