文档

Unity Engine

Unity Engine

GetMainAssetEntityId(string)

Returns an asset EntityId.
阅读时间1 分钟最后更新于 1 个月前

Definition

public static EntityId GetMainAssetEntityId(string assetPath)

Parameters

assetPath

Asset path.

Returns

Type

Description

EntityIdThe EntityId of the main asset.

Remarks

This function try not to load the asset if possible.