LanguageEnglish
  • C#
  • JS

Script language

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

This version of Unity is unsupported.

Navigation

struct in UnityEngine.UI

Description

Structure storing details related to navigation.

Static Properties

defaultNavigationReturn a Navigation with sensible default values.

Properties

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.