在cocos ide中
请问下下面这句代码为什么会报错,新人求指导
contactListener:registerScriptHandler(onContactBegin, cc.Handler.EVENT_PHYSICS_CONTACT_BEGIN)
error in function ‘registerScriptHandler’.
argument #2 is ‘nil’; ‘’ expected.
这个问题对各位大神很能很简单,但是对于一个新人来说却很难,往各位不吝赐教,不胜感激