Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


FocusChangeDirection

Base class for defining in which direction the focus moves in a focus ring.
Read time 1 minuteLast updated 4 days ago

Definition

public class FocusChangeDirection : IDisposable

Remarks

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

Property

Description

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.

Methods

Method

Description

DisposeThis method will be called when FocusController has finished treating this focus change directive. If the reference came from a pool, this method can be used to release the data back to the pool.