Wall-Fall detection

Also, wall-fall detection for enemy could be done with Physics2D.Raycast in few lines of code:

Privacy & Terms