文档

Unity Engine

Unity Engine

GetGraphAssetGUID(Graph)

Retrieves the globally unique identifier (GUID) for the asset associated with the specified Graph.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static GUID GetGraphAssetGUID(Graph graph)

Parameters

graph

The graph whose asset GUID you want to retrieve.

Returns

Type

Description

GUIDThe 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.