On this function

On this function
0.0 0


cc.CallFunc.create(this._grossini, this.removeFromParentAndCleanup, true));

removeFromParentAndCleanup:function (pSender, data) {

which one is the pSender and which one is the data?


Interesting question for me, I have some hard time working with CallFunc in the case of sending parameters.
I’m only succeed with only function that accepts only 1 parameter, and it must be object that action will run on (i.e. object.runAction(…)) or value type parameter. For other cases, I found it hard time to make it works.

Waiting for more light on this. Thanks for the question.