文档

Unity Engine

Unity Engine

canGrabFocus

Whether the element can be focused.
阅读时间1 分钟最后更新于 1 个月前

Definition

public virtual bool canGrabFocus { get; }

Remarks

Returns true if the element meets all the following conditions:
For more information, refer to Focus system in UI Toolkit.
Additional Resources: IStyle.display, Focusable.Focus()