Documentation

Unity Engine

Download Unity

Unity Engine

GetMainAssetEntityId(string)

Returns an asset EntityId.
Read time 1 minuteLast updated 21 days 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.