Create 2D BoxRaycasting C#

Unity Script which has for purpose to detect which side(top, right, bottom, left) of an object that was hit.