Gizmos.DrawGUITexturestatic function DrawGUITexture (screenRect : Rect, texture : Texture, leftBorder : int, rightBorder : int, topBorder : int, bottomBorder : int, mat : Material = null) : voidDescriptionDraw a texture in screen coordinates. Useful for GUI backgrounds.
JavaScript
var myTexture : Texture; using UnityEngine; import UnityEngine |
