Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


BlockNode

Represents a specialized node that can only exist within a BlockNode.ContextNode.
Read time 2 minutesLast updated 6 days ago

Definition

public abstract class BlockNode : Node, INode

Remarks

Use block nodes to define logic or operations that are scoped within a BlockNode.ContextNode. A block node cannot be added directly to the graph; it must be a child of a valid context node type. Attempting to instantiate or add a
BlockNode
outside of a BlockNode.ContextNode will result in invalid behavior. To limit which context types can contain a block node, use the UseWithContextAttribute.

Properties

Property

Description

ContextNodeThe BlockNode.ContextNode that contains this block node.
IndexThe index of this block node within the list of blocks in the context node.

Inheritance