Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddBlockNode(BlockNode)

Adds an existing BlockNode to this context node.
Read time 1 minuteLast updated 6 days ago

Definition

public void AddBlockNode(BlockNode blockNode)

Parameters

blockNode

The BlockNode to add.

Remarks

Use this method to add an existing block node to the end of this context node. Consider using ContextNode.InsertBlockNode to insert at a specific position, or ContextNode.CreateBlockNode to create and add a new block node. When the block node already belongs to another context node, it is removed from that context and added to this one. Throws ArgumentException if the block node is not compatible with this context node.