public static new CCParticleSpiral node()
        {
            CCParticleSpiral cCParticleSpiral = new CCParticleSpiral();

            if (cCParticleSpiral.init())
            {
                return(cCParticleSpiral);
            }
            return(null);
        }
        public static CCParticleSpiral node()
        {
            CCParticleSpiral pRet = new CCParticleSpiral();

            if (pRet.init())
            {
                return(pRet);
            }
            return(null);
        }
 public static CCParticleSpiral node()
 {
     CCParticleSpiral pRet = new CCParticleSpiral();
     if (pRet.init())
     {
         return pRet;
     }
     return null;
 }
Exemple #4
0
        public override void OnEnter()
        {
            base.OnEnter();

            m_emitter = new CCParticleSpiral();

            m_background.AddChild(m_emitter, 10);

            m_emitter.Texture = CCTextureCache.SharedTextureCache.AddImage(TestResource.s_fire);

            setEmitterPosition();
        }