The hello world program in javascript/Unity
function Start ()
{
var object = new GameObject ("HelloWorld");
object.AddComponent ("GUIText");
object.guiText.text = "Hello World!";
object.transform.position.y = 0.5;
}
Put this on the initial camera of a new scene and voilá!
the Debug.Log version should be smaller though, but not rendered!
.ORG