Attacher(VisualElement, VisualElement, SpriteAlignment)
Attaches a visual element next to its target, regarless of their respective locations in the visual tree hierarchy.
阅读时间1 分钟最后更新于 1 个月前
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.