Closed Okamoi closed 10 years ago
ParticleAnimationSet.deactivate breaks because ParticleAnimationSet._animationRegisterCache appears to be null.
See this guy's post to reproduce easily using the LoadAsset class from EffectHub templates.
The example uses a particle effect from EffectHub but since ParticleAnimationSet is part of Away3D itself, I'm not sure if the fix should be within an Away3D class, a Sparticle parser class or the particle editor.
Thank you for the report. I've tested and it works well. I see that @liaocheng fixed that bug.
ParticleAnimationSet.deactivate breaks because ParticleAnimationSet._animationRegisterCache appears to be null.
See this guy's post to reproduce easily using the LoadAsset class from EffectHub templates.
The example uses a particle effect from EffectHub but since ParticleAnimationSet is part of Away3D itself, I'm not sure if the fix should be within an Away3D class, a Sparticle parser class or the particle editor.