Progetto H — Riferimento API Documentazione & Scripting
Funzione statica Condiviso Moderato

Assets.GetAssetPath

Gets the file path of an asset

Non ancora tradotto

Sintassi

Lua
Assets.GetAssetPath(asset, asset_type)

Parametri

Nome Tipo Predefinito Descrizione
asset string The asset reference in the format <code>asset-pack::AssetKey</code>
asset_type AssetType The Asset Type

Valore restituito

  • string The file path defined in the Assets.toml