ドキュメント

Unity Engine

Unity Engine

Focusable

Base class for objects that can get the focus.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

public abstract class Focusable : CallbackEventHandler, IEventHandler

Remarks

The focus is used to designate an element that will receive keyboard events.

Properties

Property

Description

canGrabFocusReturn true if the element can be focused.
delegatesFocusWhether the element should delegate the focus to its children.
focusableTrue if the element can be focused.
focusControllerReturn the focus controller for this element.
tabIndexAn integer used to sort focusables in the focus ring. Must be greater than or equal to zero.

Methods

Method

Description

BlurTell the element to release the focus.
FocusAttempt to give the focus to this element.

Inheritance