예제 #1
0
        public static new CCParticleFireworks node()
        {
            CCParticleFireworks cCParticleFirework = new CCParticleFireworks();

            if (cCParticleFirework.init())
            {
                return(cCParticleFirework);
            }
            return(null);
        }
예제 #2
0
        public static CCParticleFireworks node()
        {
            CCParticleFireworks pRet = new CCParticleFireworks();

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

            m_emitter = new CCParticleFireworks();
            m_background.AddChild(m_emitter, 10);

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

            setEmitterPosition();
        }