how to check collision unity 3d code example Example: check for collision unity c# void OnCollisionEnter(Collision col) { }