기술 자료

Unity Engine

Unity Engine

ReleasePointer

Tests whether an element captured a pointer and, if so, tells the element to release the pointer.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

ReleasePointer(IEventHandler, int)

Tests whether an element captured a pointer and, if so, tells the element to release the pointer.
public static void ReleasePointer(this IEventHandler handler, int pointerId)

Parameters

The element which potentially captured the pointer.

pointerId

The captured pointer.

ReleasePointer(IPanel, int)

Releases the pointer.
public static void ReleasePointer(this IPanel panel, int pointerId)

Parameters

panel

The panel that holds the element that captured the pointer.

pointerId

The captured pointer.