Scrolling text techniques?

what’s the best way to handle a large block of scrolling text within an area about half the size of the screen?

Do you want the text to scroll automatically (like a credit roll, say) or be scrollable by the user? Either way, you will likely want the text to be a label inside a GUI group but the way you handle it will be slightly different in each case.

I was thinking more along the lines of a block of instructional text, about a paragraph’s worth. But ideally it fits within a small window and can interactively scroll within that window.

You just need to put a label containing the text inside a scrollview object. The label should be the same width as the scrollview (or narrower), but taller in height. If you do this, the scrollview will allow you to scroll the text:-

var scrollPos: Vector2;
var viewRect: Rect;
var textRect: Rect;
var text: String;

function OnGUI() {
   scrollPos = GUI.BeginScrollView(viewRect);
   GUI.Label(textRect, text);
   GUI.EndScrollView();
}

OnGUI… In an iPhone project?

Dirty.

I guess it is okay if the instructional text isn’t visible while the game is playing.

I was just thinking the same, while you use ongui on the mainmenu (all 2D) or maybe on a pause screen I don’t see any problem loosing performance