Documentation

Unity Engine

Unity Engine

GetCapturingElement(IPanel, int)

Returns the element that is capturing the pointer.
Read time 1 minuteLast updated a month ago

Definition

public static IEventHandler GetCapturingElement(this IPanel panel, int pointerId)

Parameters

panel

The panel that holds the element.

pointerId

The captured pointer.

Returns

Type

Description

IEventHandlerThe element that is capturing the pointer.