Attacher(VisualElement, VisualElement, SpriteAlignment)
Attaches a visual element next to its target, regarless of their respective locations in the visual tree hierarchy.
Read time 1 minuteLast updated 11 days ago
Definition
- Type: Constructor
- Namespace: UnityEditor.Experimental.GraphView
- Assembly: UnityEditor
public Attacher(VisualElement anchored, VisualElement target, SpriteAlignment alignment)
Parameters
The element that will be positioned alongside the target.
The target element.
Relative alignment between the attached element and the target.