GUILayout.Boxstatic function Box (image : Texture, params options : GUILayoutOption[]) : voidstatic function Box (text : String, params options : GUILayoutOption[]) : voidstatic function Box (content : GUIContent, params options : GUILayoutOption[]) : voidstatic function Box (image : Texture, style : GUIStyle, params options : GUILayoutOption[]) : voidstatic function Box (text : String, style : GUIStyle, params options : GUILayoutOption[]) : voidstatic function Box (content : GUIContent, style : GUIStyle, params options : GUILayoutOption[]) : voidParameters
DescriptionMake an auto-layout box. This will make a solid box. If you want to make a box with some contents inside, use the style paramenter of one of the subgroup functions (BeginHorizontal, BeginVertical, etc...).
JavaScript
// Draws a texture and a label inside 2 different boxes using UnityEngine; import UnityEngine
|

