赞
踩
触发条件:
1.层级设置可以发生碰撞
2.至少一方具备Rigidbody2D, 且不为Static
3.双方都有Collider2D
4.至少一方IsTrigger = true
4.双方均为 IsTrigger = false