ReleasePointer
Tests whether an element captured a pointer and, if so, tells the element to release the pointer.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.UIElements
- Assembly: UnityEngine.UIElementsModule
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.
The captured pointer.
ReleasePointer(IPanel, int)
Releases the pointer.
public static void ReleasePointer(this IPanel panel, int pointerId)