文档

Unity Engine


User Manual

Script Reference

Unity Engine


HasPointerCapture(IEventHandler, int)

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

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.