Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


GetMainAssetEntityId(string)

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