Docsv3.12.0
Back to API Reference
Class

UniTextFocusable

Inherits:Selectable
Implements:ISubmitHandlerIInitializePotentialDragHandlerIBeginDragHandlerIDragHandlerIEndDragHandler

Navigation / focus primitive for an interactive UniText surface — the EventSystem tab stop that lets the GameObject hold focus. Created and owned at runtime (hidden, not serialized) by Sync; never added manually.

Remarks

A GameObject holds a single Selectable. Where another one is already present, none is created and that component owns keyboard and gamepad focus: the text keeps its pointer interactions, while navigation between interactive ranges, activation of a focused range and range drag gestures are unavailable on that GameObject.
public override void OnSelect()
public override void OnDeselect()
public override void OnMove()
public void OnSubmit()
protected override void OnDisable()