Loading...
// 只在两个碰撞体开始接触时被调用一次 onBeginContact (contact, selfCollider, otherCollider) { console.log('有人碰到了玩家',selfCollider.node.name,otherCollider.node.name); if(otherCollider.node.name==&q...