Skip to content

AssetManagerImporter

ClassAssetInventoryAssetInventory.Editor
public sealed class AssetManagerImporter : AssetImporter

Importer for discovering, indexing, and persisting asset manager content in the Asset Inventory catalog.

public Task Run(Asset forAsset = null)

Synchronizes configured Unity Cloud Asset Manager projects and collections into the local catalog, optionally limiting work to one existing package.

Parameters

NameType
forAssetAssetInventory.Asset

Returns

System.Threading.Tasks.Task

PersistAssetFiles(CloudAssetManagement, List, Asset, bool)

Section titled “PersistAssetFiles(CloudAssetManagement, List, Asset, bool)”
public Task PersistAssetFiles(CloudAssetManagement cam, List<IAsset> assets, Asset asset, bool checkOrphans = true)

Creates or updates catalog file records for the supplied Asset Manager assets and optionally removes records no longer present remotely.

Parameters

NameType
camAssetInventory.CloudAssetManagement
assetsSystem.Collections.Generic.List{Unity.Cloud.Assets.IAsset}
assetAssetInventory.Asset
checkOrphansSystem.Boolean

Returns

System.Threading.Tasks.Task

public AssetManagerImporter()