Display current terrain name

Hey, i’m trying to display in a GUIText the name of the Terrain the player is walking on.

I have 3 terrains in my scene. I can’t use the active Terrain function because it’s shows always the same one. I would like to be able to display the name of the Terrain even if i change of terrain.

I already display the current position of the player in a scirpt which is :

function OnGUI () {
GUI.Label (Rect (2,5,500,500), " X = " + transform.position.x + " Y = " + transform.position.y + " Z = " + transform.position.z);
}

I tried this :

function OnGUI () {
GUI.Label (Rect (2,20,250,50), " Zone = " + GetComponent(Terrain));
}

but it’s return “null”.

Can anyone help me ?

Sorry for my english.

Shoot a ray down and get hit.gameobject.name