GetNodes()
Retrieves all nodes in the graph.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public IEnumerable<INode> GetNodes()
Returns
Type | Description |
|---|---|
| IEnumerable<INode> | An |
Remarks
Use this method to access every node in the graph. Nodes are returned in the order they were created.
The list includes:
-
Your own Nodes
It excludes BlockNodes, which are only accessible through their parent ContextNode.