Documentation

Unity Engine


User Manual

Script Reference

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 in the focus ring.
Read time 1 minuteLast updated 7 days ago

Definition

public FocusChangeDirection GetFocusChangeDirection(Focusable currentFocusable, EventBase e)

Parameters

currentFocusable


Returns

Type

Description

FocusChangeDirection