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.

EdgeDragHelper

class in UnityEditor.Experimental.UIElements.GraphView

/

Implemented in:UnityEditor

Description

EdgeDragHelper's constructor.

Properties

draggedPortThe port the edge is being dragged from.
edgeCandidateThe edge being dragged.

Public Methods

HandleMouseDownHandle mouse down event.
HandleMouseMoveHandle mouse move event.
HandleMouseUpHandle mouse up event.
ResetReset the state of the drag helper.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答