Version: 2022.1
언어: 한국어
Experimental: this API is experimental and might be changed or removed in the future.

IconBadge

class in UnityEditor.Experimental.GraphView

매뉴얼로 전환

설명

A rectangular badge, usually attached to another visual element.

변수

alignmentRelative alignment between the badge and its target. The alignment will influence icon and tip position.
badgeTextText displayed next to the badge on mouse hover.
distanceDistance between the badge and its target element.
targetTarget element to which this badge is attached.
visualStyleThe visual style for the badge. Built-in values are "error" and "comment".

생성자

IconBadgeCreates a basic comment badge.

Public 함수

AttachToAttaches this badge to another element.
DetachDetaches this badge from its target.

정적 함수

CreateCommentCreates an IconBadge with the "comment" visual style.
CreateErrorCreates an IconBadge with the "error" visual style.