Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


Blackboard

GraphElement that enables user to dynamically define members of a Graph (such as fields/properties) grouped by sections (BlackboardSection).
Read time 9 minutesLast updated 8 days ago

Definition

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

Constructors

Constructor

Description

Blackboard(UnityEditor.Experimental.GraphView.GraphView)Constructs a Blackboard.

Properties

Property

Description

addItemRequestedCalled when user clicks on the Add button of this Blackboard.
contentContainerThe content container of this Blackboard.
editTextRequestedCalled when user has edited the text of this BlackboardField.
graphViewThe GraphView that the Blackboard is attached to.
moveItemRequestedCalled when user has dragged and dropped a BlackboardField to a new location inside its BlackboardSection.
scrollableIndicates whether the content of this Blackboard can be vertically scrolled by user. It is false by default.
selectionAll selected elements in the GraphView that the Blackboard is attached to.
subTitleThe subtitle of this Blackboard.
titleThe title of this Blackboard.
windowedSet to true when the Blackboard displays in a separate window. Set to false when the Blackboard displays in the GraphView.

Methods

Method

Description

AddToSelectionAdds an element to the selection in the GraphView that the Blackboard is attached to.
ClearSelectionClears the selection in the GraphView that the Blackboard is attached to.
RemoveFromSelectionRemoves an element from the selection in the GraphView that the Blackboard is attached to.

Inheritance

Inherited Members