Legacy Documentation: Version 5.4
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

Navigation

struct in UnityEngine.UI

Description

Structure storing details related to navigation.

Static Variables

defaultNavigationReturn a Navigation with sensible default values.

Variables

modeNavigation mode.
selectOnDownSpecify a Selectable UI GameObject to highlight when the down arrow key is pressed.
selectOnLeftSpecify a Selectable UI GameObject to highlight when the left arrow key is pressed.
selectOnRightSpecify a Selectable UI GameObject to highlight when the right arrow key is pressed.
selectOnUpSpecify a Selectable UI GameObject to highlight when the Up arrow key is pressed.