Version: 1.4
LanguageEnglish
  • C#

PointerCaptureHelper

class in UnityEngine.UIElements

/

Implemented in:UnityEngine.UIElementsModule

Description

A static class to capture and release pointers.

Static Methods

CapturePointer Captures the pointer.
GetCapturingElement Returns the element that is capturing the pointer.
HasPointerCapture Tests whether the element has captured the pointer.
ReleasePointer Tests whether an element captured a pointer and, if so, tells the element to release the pointer.

对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答