Version: 5.3 (switch to 5.4b)
IdiomaEnglish
  • C#
  • JS

Idioma de script

Selecciona tu lenguaje de programación favorito. Todos los fragmentos de código serán mostrados en este lenguaje.

GUILayout

class in UnityEngine

Sugiere un cambio

¡Éxito!

Gracias por ayudarnos a mejorar la calidad de la documentación de Unity. A pesar de que no podemos aceptar todas las sugerencias, leemos cada cambio propuesto por nuestros usuarios y actualizaremos los que sean aplicables.

Cerrar

No se puedo enviar

Por alguna razón su cambio sugerido no pudo ser enviado. Por favor <a>intente nuevamente</a> en unos minutos. Gracias por tomarse un tiempo para ayudarnos a mejorar la calidad de la documentación de Unity.

Cerrar

Cancelar

Cambiar al Manual

Descripción

The GUILayout class is the interface for Unity gui with automatic layout.


See Also: GUI Layout tutorial.

Funciones Estáticas

BeginAreaBegin a GUILayout block of GUI controls in a fixed screen area.
BeginHorizontalBegin a Horizontal control group.
BeginScrollViewBegin an automatically laid out scrollview.
BeginVerticalBegin a vertical control group.
BoxMake an auto-layout box.
ButtonMake a single press button. The user clicks them and something happens immediately.
EndAreaClose a GUILayout block started with BeginArea.
EndHorizontalClose a group started with BeginHorizontal.
EndScrollViewEnd a scroll view begun with a call to BeginScrollView.
EndVerticalClose a group started with BeginVertical.
ExpandHeightOption passed to a control to allow or disallow vertical expansion.
ExpandWidthOption passed to a control to allow or disallow horizontal expansion.
FlexibleSpaceInsert a flexible space element.
HeightOption passed to a control to give it an absolute height.
HorizontalScrollbarMake a horizontal scrollbar.
HorizontalSliderA horizontal slider the user can drag to change a value between a min and a max.
LabelMake an auto-layout label.
MaxHeightOption passed to a control to specify a maximum height.
MaxWidthOption passed to a control to specify a maximum width.
MinHeightOption passed to a control to specify a minimum height.
MinWidthOption passed to a control to specify a minimum width.
PasswordFieldMake a text field where the user can enter a password.
RepeatButtonMake a repeating button. The button returns true as long as the user holds down the mouse.
SelectionGridMake a Selection Grid.
SpaceInsert a space in the current layout group.
TextAreaMake a multi-line text field where the user can edit a string.
TextFieldMake a single-line text field where the user can edit a string.
ToggleMake an on/off toggle button.
ToolbarMake a toolbar.
VerticalScrollbarMake a vertical scrollbar.
VerticalSliderA vertical slider the user can drag to change a value between a min and a max.
WidthOption passed to a control to give it an absolute width.
WindowMake a popup window that layouts its contents automatically.