AddBlockNode(BlockNode)
Adds an existing BlockNode to this context node.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public void AddBlockNode(BlockNode blockNode)
Parameters
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.