AddBlockNode(BlockNode)
Adds an existing BlockNode to this context node.
阅读时间1 分钟最后更新于 1 个月前
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.