Dynamically showing a text on screen.

I have a button. I want, when I press the button, for a text appear somewhere in the screen. How do I do it?

To be more specific, I want to do while runtime standalone, what printing on Console does. If I don’t have the console while running I can’t see my variables.

Here is a link to the GUI basics tutorial. Run though it and it should give you a decent grasp on creating/manipulating GUI elements on screen.

http://unity3d.com/support/documentation/Components/gui-Basics.html

If you still have questions after running through this… let me know.