Version: 2018.2
public static VersionControl.Asset GetAssetByGUID (string guid);

Parameters

guidGUID of asset.

Description

Returns version control information about an asset.

Returns null if the GUID is not known by the Unity Editor.