public static void ReleasePointer (UIElements.IEventHandler handler, int pointerId);

Parameters

handlerThe element which potentially captured the pointer.
pointerIdThe captured pointer.

Description

Tests whether an element captured a pointer and, if so, tells the element to release the pointer.


public static void ReleasePointer (UIElements.IPanel panel, int pointerId);

Parameters

panelThe panel that holds the element that captured the pointer.
pointerIdThe captured pointer.

Description

Releases the pointer.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961