Version: 5.3 (switch to 5.4b)
ЯзыкEnglish
  • C#
  • JS

Язык программирования

Выберите подходящий для вас язык программирования. Все примеры кода будут представлены на выбранном языке.

FocusType

enumeration

Руководство

Описание

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

Переменные

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.
PassiveThis control can never recieve keyboard focus.