摘要: 碰撞事件 // 发生碰撞 onCollisionEnter(other: cc.Collider, self: cc.Collider): void { console.log(other.tag); } // 持续碰撞 onCollisionStay(other: cc.Collider, sel 阅读全文
posted @ 2023-03-29 13:50 深以为然 阅读(48) 评论(0) 推荐(0) 编辑