Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


EdgeConnector<TEdge>

Manipulator for creating new edges.
Read time 1 minuteLast updated 11 days ago

Definition

public class EdgeConnector<TEdge> : EdgeConnector, IManipulator where TEdge : Edge, new()

Constructors

Constructor

Description

EdgeConnector`1(UnityEditor.Experimental.GraphView.IEdgeConnectorListener)EdgeConnector's constructor.

Properties

Property

Description

edgeDragHelperReference to the edge drag helper.

Methods

Method

Description

AbortCalled when an edge creation is cancelled.
OnMouseDownCalled on mouse down event.
OnMouseMoveCalled on mouse move event.
OnMouseUpCalled on mouse up event.
OnPointerDownCalled when a pointer down event occurs on the target element.
OnPointerMoveCalled when a pointer move event occurs on the target element.
OnPointerUpCalled when a pointer up event occurs on the target element.
RegisterCallbacksOnTargetCalled to register click event callbacks on the target element.
UnregisterCallbacksFromTargetCalled to unregister event callbacks from the target element.

Inheritance