Version: 2020.1

PointerManipulator

class in UnityEngine.UIElements

/

继承自:UIElements.MouseManipulator

切换到手册

描述

PointerManipulators have a list of activation filters.

受保护的函数

CanStartManipulationChecks whether PointerEvent satisfies all of the ManipulatorActivationFilter requirements.
CanStopManipulationChecks whether the PointerEvent is related to this Manipulator.

继承的成员

变量

target被操作的 VisualElement。
activatorsActivationfilters 列表。

受保护的函数

RegisterCallbacksOnTarget调用来在目标元素上注册事件回调。
UnregisterCallbacksFromTarget调用以从目标元素取消注册单击事件回调。
CanStartManipulationChecks whether MouseEvent satisfies all of the ManipulatorActivationFilter requirements.
CanStopManipulationChecks whether the MouseEvent is related to this Manipulator.