CCActionCallBlock usage in Cocos2d Swift -
i used below cocos2d-swift code, giving 1 error. see below image.
var calbck = ccactioncallblock.actionwithblock({ self.showglasseffect() }) ccactioncallblock var seq = ccactionsequence.actions(move, delay, calbck, nil) ccactionsequence
how use ccactioncallblock in cocos2d swift ?
you need use:
var seq = ccactionsequence.actionwitharray(arr) ccactionsequence
Comments
Post a Comment