Documentation

Unity Engine


Unity Engine


GetFocusChangeDirection(Focusable, EventBase)

Get the direction of the focus change for the given event. For example, when the Tab key is pressed, focus should be given to the element to the right.
Read time 1 minuteLast updated a month ago

Definition

FocusChangeDirection GetFocusChangeDirection(Focusable currentFocusable, EventBase e)

Parameters

currentFocusable


Returns

Type

Description

FocusChangeDirection