Version: 2022.3
언어: 한국어
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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961