ドキュメント

Unity Engine

Unity Engine

TryGetNodeAt(float, float, out AccessibilityNode)

Tries to retrieve the node at the given position on the screen.
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Definition

TryGetNodeAt(float, float, AccessibilityNode)

public bool TryGetNodeAt(float horizontalPosition, float verticalPosition, out AccessibilityNode node)

Parameters

horizontalPosition

The horizontal position on the screen.

verticalPosition

The vertical position on the screen.

The node found at that screen position, or
null
if there are no nodes at that position.

Returns

Type

Description

boolReturns true if a node is found and false otherwise.