How to add textboxes in Unity 3d

Hey does anyone know how to add textboxes in Unity using javascript?

try

var speech : String;

function OnGUI () {

 GUI.Box (Rect (200,500,500,70), speech);

}

you just type what you want the npc to say in the inspector window. You can even turn it on and off through script whenever you please.

Try looking at the GUI section... Search it in google or the docs... Hope this help!

Wait, superventure, where would I insert that script? on my mouse look?