Version: 2023.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.

Static 関数

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