//Error code
ARCH_OPTIMAL_PARTICLE_SYSTEM* particle = CCParticleMeteor::node();
// this is CCLayer object
this~~>addChild;
but when set a texture is Ok
//Good code
ARCH_OPTIMAL_PARTICLE_SYSTEM* particle = CCParticleMeteor::node;
particle~~>setTexture(CCTextureCache::sharedTextureCache()>addImage);>addChild(particle);
// this is CCLayer object
this
Why?
How I could run a particle example without set texture ?
Thanks!