📜  ontriggerenter 和 oncollisionenter 的区别 - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:52.646000             🧑  作者: Mango

代码示例1
OnTriggerEnter - Is called whenever an object with a collider has passed through an object with an "isTrigger" checked collider. ... OnCollisionEnter - Is called whenever an object with a collider has collided with another object that contains a collider.