Documentation

Unity Engine

Unity Engine

GetMainAssetEntityId(string)

Returns an asset EntityId.
Read time 1 minuteLast updated a month ago

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.