Experimental: this API is experimental and might be changed or removed in the future.

Manipulator

class in UnityEngine.Experimental.UIElements


实现接口:IManipulator

切换到手册

描述

Base class for objects that define user interaction with a VisualElement. Most often manipulators hold state for complex interactions, for example interactions that require a mouse down, mouse move mouse up sequence.

变量

targetThe element that handles the interaction.

受保护的函数

RegisterCallbacksOnTargetRegister event callbacks on the target visual element.
UnregisterCallbacksFromTargetUnregister event callbacks on the target visual element.