Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


AddNode(Node)

Adds a node to the Graph.
Read time 1 minuteLast updated 6 days ago

Definition

public void AddNode(Node node)

Parameters

node

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.