文档

Unity Engine

Unity Engine

Pick(Vector2)

Returns the top element at this position. Will not return elements with pickingMode set to PickingMode.Ignore.
阅读时间1 分钟最后更新于 1 个月前

Definition

VisualElement Pick(Vector2 point)

Parameters

point

World coordinates.

Returns

Type

Description

VisualElementTop VisualElement at the position. Null if none was found.