2 ways to do collision detection in unity code example Example: check for collision unity c# void OnCollisionEnter(Collision col) { }