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.

FocusType

enumeration

Cambiar al Manual

Descripción

Used by GUIUtility.GetControlID to inform the UnityGUI system if a given control can get keyboard focus.

Variables

NativeThis control can get keyboard focus on Windows, but not on Mac. Used for buttons, checkboxes and other "pressable" things.
KeyboardThis is a proper keyboard control. It can have input focus on all platforms. Used for TextField and TextArea controls.
PassiveEste control nunca puede recibir el foco.