기술 자료

Unity Engine

Unity Engine

Icon

The icon displayed for this condition in the transition inspector, or null if none is set.
읽는 시간 1분최근 업데이트: 2달 전

Definition

public Texture2D Icon { get; set; }

Remarks

Not persisted with the graph. Set this to one of DebugStyles.TrueIcon, DebugStyles.FalseIcon, DebugStyles.PendingIcon, or a custom icon, to visually indicate the evaluation status of this condition. A visualization tool that doesn't own the graph asset can override the displayed icon without changing this value; see ConditionReference.Icon.

Examples

Icon = DebugStyles.PendingIcon;