GetMainAssetEntityId(string)
Returns an asset EntityId.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEditor.Search
- Assembly: UnityEditor
public static EntityId GetMainAssetEntityId(string assetPath)
Parameters
Asset path.
Returns
Type | Description |
|---|---|
| EntityId | The EntityId of the main asset. |
Remarks
This function try not to load the asset if possible.