Experimental: this API is experimental and might be changed or removed in the future.

IconBadge.AttachTo

Switch to Manual
public void AttachTo (UIElements.VisualElement target, SpriteAlignment align);

Parameters

targetThe target element to attach this badge to.
alignRelative alignement of the badge.

Description

Attaches this badge to another element.