Sideways textfield

Is it possible to display GUI elements such as textfields sideways (rotated 90 degrees from horizontal default position)?

Untested but should work:

function OnGUI () {

  GUIUtility.RotateAroundPivot(90.0, Vector2(116.0, 116.0)); //Replace 116.0 with your pivot point coordinates
  //Your GUI code here
}