Funzione statica
Moderato
Assets.GetAssetPath
Gets the file path of an asset
Non ancora tradotto
Sintassi
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