기술 자료

Unity Engine

Unity Engine

CapturePointer(IEventHandler, int)

Captures the pointer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public static void CapturePointer(this IEventHandler handler, int pointerId)

Parameters

The VisualElement that captures the pointer.

pointerId

The pointer to capture.

Remarks

When a VisualElement captures a pointer, all pointer events are sent to the element, regardless of which element is under the pointer.