Documentation

Unity Engine


User Manual

Script Reference

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 11 days 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.