有勾选监听事件的,碰撞后事件没注册,要手动注册吗?
this.node.getComponent(BoxCollider2D)!.on(“begin-contact”, this.onBeginContact, this)
这样是有回调的
要手动注册消息的哦

你参数写乱了,应该是
onBeginContact(colliderA: any, colliderB: any, contact: any)
要看对应分支的,现在是 3.0 分支
该主题在最后一个回复创建后7天后自动关闭。不再允许新的回复。
