AddNode(Node)
Adds a node to the Graph.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public void AddNode(Node node)
Parameters
The node to add.
Remarks
If the node is already in this graph, this method does nothing. If the node is currently in another graph, it will be removed from that graph and added to this one. Enclose this method with Graph.UndoBeginRecordGraph and Graph.UndoEndRecordGraph to add this operation to the undo stack and to update the graph view with the changes.