Version: 2017.3 (switch to 2017.4)
LanguageEnglish
  • C#
  • JS

Script language

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

Experimental: this API is experimental and might be changed or removed in the future.

FocusChangeDirection

class in UnityEngine.Experimental.UIElements

Description

Base class for defining in which direction the focus moves in a focus ring.

Focus ring implementations can move the focus in various direction; they can derive from this class to formalize the various ways the focus can change from one element to the other.

Static Properties

lastValueLast value for the direction defined by this class.
noneThe null direction. This is usually used when the focus stays on the same element.
unspecifiedFocus came from an unspecified direction, for example after a mouse down.

Operators

intThe underlying integer value for this direction.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答