Hi,
I've searched and i can't find a way to fade in and out a CCLayer.
I'm trying to fade in and then fade out a Menu.
As i understand it a CCLayer is a CCNode so it would be possible to perform Actions on it, but the game crashes.
I've tried doing it when i create it, and on the init method, same result.
-(void)showMenu {
CCLayer* menuLayer = [MenuLayer node];
id actionFadeIn = [CCFadeIn actionWithDuration:0.3];
[menuLayer runAction:[CCSequence actions:actionFadeIn, nil]];
[self addChild:menuLayer z:1];
}
Thank you