AssetManagerImporter
public sealed class AssetManagerImporter : AssetImporterImporter for discovering, indexing, and persisting asset manager content in the Asset Inventory catalog.
Methods
Section titled “Methods”
Run(Asset)
Section titled “Run(Asset)”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
| Name | Type |
|---|---|
forAsset |
AssetInventory.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
| Name | Type |
|---|---|
cam |
AssetInventory.CloudAssetManagement |
assets |
System.Collections.Generic.List{Unity.Cloud.Assets.IAsset} |
asset |
AssetInventory.Asset |
checkOrphans |
System.Boolean |
Returns
System.Threading.Tasks.Task
Constructors
Section titled “Constructors”
AssetManagerImporter()
Section titled “AssetManagerImporter()”public AssetManagerImporter()