/// <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; }
public static CCLayerMultiplex layerWithLayer(CCLayer layer) { CCLayerMultiplex multiplex = new CCLayerMultiplex(); multiplex.initWithLayer(layer); return(multiplex); }
/// <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); }