You could fill the Pits with Box Collidiers wich are marked as Triggers.
Then you write a Script with
void OnTriggerEnter(Collider other){
if(other.gameobject.tag == "Player")
//do something
}
That should do the Job
1
solved Unity3d how can i program my game?