- Home /
Question by
saber younis · Jun 24, 2013 at 12:28 AM ·
collisionguiguitexturecube
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 ??
Comment
Best Answer
Answer by LightSource · Jun 24, 2013 at 01:50 AM
In the future please be more clear about your answers...
Collisions: http://docs.unity3d.com/Documentation/ScriptReference/Collider.OnCollisionEnter.html
GUI: http://docs.unity3d.com/Documentation/Components/gui-Basics.html
Google it next time.
function OnCollisionEnter (col : Collision) {
GUI.Box (Rect (10,10,100,90), "Your GUI");
}
Also, if you found this helpful, remember to mark it as correct.