Searching for ground.

I got following problem. When I move my Player above a diagonal Platform the Player doesnt “search for ground”. I user only C# for my Scripts.

Here a pic =>

I want that the player adapts to the ground. How can i do it?`I used a rigidbody 2D and a PlayerControl Script.

attach a rigidbody to your player.