GetGraphAssetGUID(Graph)
Retrieves the globally unique identifier (GUID) for the asset associated with the specified Graph.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: Unity.GraphToolkit.Editor
- Assembly: UnityEditor
public static GUID GetGraphAssetGUID(Graph graph)
Parameters
The graph whose asset GUID you want to retrieve.
Returns
Type | Description |
|---|---|
| GUID | The GUID of the graph asset. |
Remarks
Use this method to get a persistent identifier for a graph asset. The GUID allows reliable tracking, referencing, and linking to graph assets across different Unity sessions.