文档

Unity Engine

Unity Engine

HasPointerCapture(IEventHandler, int)

Tests whether the element has captured the pointer.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static bool HasPointerCapture(this IEventHandler handler, int pointerId)

Parameters

The VisualElement being tested.

pointerId

The captured pointer.

Returns

Type

Description

boolTrue if element captured the pointer.