Ejemplo n.º 1
0
 /// <summary>
 ///  * lua script can not init with undetermined number of variables
 /// * so add these functinons to be used with lua.
 /// </summary>
 /// <param name="layer"></param>
 /// <returns></returns>
 public static CCLayerMultiplex layerWithLayer(CCLayer layer)
 {
     CCLayerMultiplex pMultiplexLayer = new CCLayerMultiplex();
     pMultiplexLayer.initWithLayer(layer);
     //pMultiplexLayer->autorelease();
     return pMultiplexLayer;
 }
Ejemplo n.º 2
0
        public static CCLayerMultiplex layerWithLayer(CCLayer layer)
        {
            CCLayerMultiplex multiplex = new CCLayerMultiplex();

            multiplex.initWithLayer(layer);
            return(multiplex);
        }
Ejemplo n.º 3
0
        /// <summary>
        ///  * lua script can not init with undetermined number of variables
        /// * so add these functinons to be used with lua.
        /// </summary>
        /// <param name="layer"></param>
        /// <returns></returns>
        public static CCLayerMultiplex layerWithLayer(CCLayer layer)
        {
            CCLayerMultiplex pMultiplexLayer = new CCLayerMultiplex();

            pMultiplexLayer.initWithLayer(layer);
            //pMultiplexLayer->autorelease();
            return(pMultiplexLayer);
        }