EditorGUILayout
- BeginHorizontal
- BeginScrollView
- BeginToggleGroup
- BeginVertical
- BoundsField
- ColorField
- CurveField
- EndHorizontal
- EndScrollView
- EndToggleGroup
- EndVertical
- EnumPopup
- FloatField
- Foldout
- InspectorTitlebar
- IntField
- IntPopup
- IntSlider
- LabelField
- LayerField
- MinMaxSlider
- ObjectField
- PasswordField
- Popup
- PrefixLabel
- PropertyField
- RectField
- SelectableLabel
- Slider
- Space
- TagField
- TextArea
- TextField
- Toggle
- Vector2Field
- Vector3Field
- Vector4Field
EditorGUILayout.BoundsField 边界盒字段
static function BoundsField (value : Bounds, params options : GUILayoutOption[]) : Bounds
static function BoundsField (label : String, value : Bounds, params options : GUILayoutOption[]) : Bounds
static function BoundsField (label : GUIContent, value : Bounds, params options : GUILayoutOption[]) : Bounds
Parameters参数
-
labelLabel to display above the field. // 字段上显示的标签
-
valueThe value to edit. // 编辑的值
-
optionsAn optional list of layout options that specify extra layouting properties. Any values passed in here will override settings defined by the style. See Also: GUILayout.Width, GUILayout.Height, GUILayout.MinWidth, GUILayout.MaxWidth, GUILayout.MinHeight, GUILayout.MaxHeight, GUILayout.ExpandWidth, GUILayout.ExpandHeight
指定额外布局属性的可选列表。这里传递任意值,将覆盖样式定义的设置。
Bounds - The value entered by the user.
返回Bounds,由用户输入的值。
Description描述
Make Center & Extents field for entering a Bounds.
制作Center & Extents字段,用于输入一个Bounds。
最后修改:2011年10月3日 Monday 14:54