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

EdgeConnector<T0>

class in UnityEditor.Experimental.UIElements.GraphView

/

Inherits from:Experimental.UIElements.GraphView.EdgeConnector

Switch to Manual

Description

用于创建新边缘的操控器。

Variables

edgeDragHelper引用边缘拖动 helper。

Constructors

EdgeConnector_1EdgeConnector 的构造函数。

Protected Functions

OnMouseDown在发生鼠标按下事件时调用。
OnMouseMove发生鼠标移动事件时调用。
OnMouseUp发生鼠标松开事件时调用。
RegisterCallbacksOnTarget调用以在目标元素上注册单击事件回调。
UnregisterCallbacksFromTarget调用以从目标元素取消注册单击事件回调。

Inherited members

Variables

edgeDragHelper引用边缘拖动 helper。
targetThe element that handles the interaction.