Legacy Documentation: Version 2018.1 (Go to current version)
LanguageEnglish
  • C#
  • JS

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

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

SelectionDropper

class in UnityEditor.Experimental.UIElements.GraphView

Description

Selection drag&drop manipulator.

Properties

activateButtonMouse button used to activate the manipulator.
clampToParentEdgesClamp element being dragged to the parent's (usually the graph) edges.
panSpeedWhen elements are dragged near the edges of the Graph, panning occurs. This controls the speed for said panning.
prevDropTargetPrevious drop target.

Constructors

SelectionDropperSelectionDropper's constructor.

Protected Methods

OnIMGUIEventCalled on IMGUI event.
OnMouseDownCalled on mouse down event.
OnMouseMoveCalled on mouse move event.
OnMouseUpCalled on mouse up event.
RegisterCallbacksOnTargetCalled to register click event callbacks on the target element.
UnregisterCallbacksFromTargetCalled to unregister event callbacks from the target element.

Events

OnDropCalled on drop event.

Did you find this page useful? Please give it a rating: