Documentation

Unity Engine

Unity Engine

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 a month ago

Definition

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.