Version: 2022.3

SearchUtils.GetMainAssetInstanceID

切换到手册
public static int GetMainAssetInstanceID (string assetPath);

参数

assetPath 资源路径。

返回

int Instance ID.

描述

Returns an asset instance ID.

This function try not to load the asset if possible.


Did you find this page useful? Please give it a rating: