GUIStyle.Drawfunction Draw (position : Rect, isHover : boolean, isActive : boolean, on : boolean, hasKeyboardFocus : boolean) : voidDescriptionDraw plain GUIStyle without text nor image. function Draw (position : Rect, text : String, isHover : boolean, isActive : boolean, on : boolean, hasKeyboardFocus : boolean) : voidDescriptionDraw the GUIStyle with a text string inside. function Draw (position : Rect, image : Texture, isHover : boolean, isActive : boolean, on : boolean, hasKeyboardFocus : boolean) : voidDescriptionDraw the GUIStyle with an image inside. If the image is too large to fit within the content area of the style it is scaled down. function Draw (position : Rect, content : GUIContent, isHover : boolean, isActive : boolean, on : boolean, hasKeyboardFocus : boolean) : voidDescriptionDraw the GUIStyle with text and an image inside. If the image is too large to fit within the content area of the style it is scaled down. function Draw (position : Rect, content : GUIContent, controlID : int, on : boolean = false) : voidDescriptionThe main draw function to use from GUI code. |
