Gizmos.DrawGUITexture Manual     Reference     Scripting  
Scripting > Runtime Classes > Gizmos
Gizmos.DrawGUITexture

static function DrawGUITexture (screenRect : Rect, texture : Texture, mat : Material = null) : void

Description

Draw a texture in screen coordinates. Useful for GUI backgrounds.

static function DrawGUITexture (screenRect : Rect, texture : Texture, leftBorder : int, rightBorder : int, topBorder : int, bottomBorder : int, mat : Material = null) : void

Description

Draw a texture in screen coordinates. Useful for GUI backgrounds.