script to create gui when detection collision between cube and first controler person ??

script to create gui when detection collision between cube and first controler person ??

In the future please be more clear about your answers…

Collisions: Unity - Scripting API: Collider.OnCollisionEnter(Collision)

GUI:

Google it next time.

function OnCollisionEnter (col : Collision) {

GUI.Box (Rect (10,10,100,90), "Your GUI");

}