GUI.Box Manual     Reference     Scripting  
Scripting > Runtime Classes > GUI
GUI.Box

static function Box (position : Rect, text : string) : void

static function Box (position : Rect, image : Texture) : void

static function Box (position : Rect, content : GUIContent) : void

static function Box (position : Rect, text : string, style : GUIStyle) : void

static function Box (position : Rect, image : Texture, style : GUIStyle) : void

static function Box (position : Rect, content : GUIContent, style : GUIStyle) : void

Parameters

NameDescription
position Rectangle on the screen to use for the box.
text Text to display on the box.
image Texture to display on the box.
content Text, image and tooltip for this box.
style The style to use. If left out, the box style from the current GUISkin is used.

Description

Make a graphical box.