Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BlackboardField

GraphElement that represents a field of a Graph.
Read time 9 minutesLast updated 9 days ago

Definition

public class BlackboardField : GraphElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler, ICustomStyle, ISelectable

Constructors

Constructor

Description

BlackboardField()Constructs a BlackboardField.
BlackboardField(UnityEngine.Texture,System.String,System.String)Constructs a BlackboardField.

Properties

Property

Description

blackboardThe Blackboard that the field belongs to.
highlightedThe highlighted state of this BlackboardField.
iconThe icon of this BlackboardField.
textThe text of this BlackboardField.
typeTextThe text that displays the data type of this BlackboardField.

Methods

Method

Description

BuildFieldContextualMenuCalled when the BlackboardField is asked to display the contextual menu.
HandleEventBubbleUpExecutes logic on this element during the BubbleUp phase, immediately before this element's BubbleUp callbacks. Calling StopPropagation will prevent further invocations of this method along the propagation path.
OpenTextEditorOpens a TextField to edit the text in a BlackboardField.

Inheritance

Inherited Members