Class AssetsToCopy
A class that defines collection of asset to be copied.
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public sealed class AssetsToCopy
Properties
Count
The number of assets to copy in this collection.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
int |
Methods
Add(AssetId, AssetVersion, CollectionPath?, string)
Adds an asset to be copied.
Declaration
public void Add(AssetId assetId, AssetVersion assetVersion, CollectionPath? destinationCollectionPath = null, string destinationStatusFlowId = null)
Parameters
Type | Name | Description |
---|---|---|
AssetId | assetId | The id of the asset to copy. |
AssetVersion | assetVersion | The version of the asset to copy. |
CollectionPath? | destinationCollectionPath | The collection path the asset will be copied to. |
string | destinationStatusFlowId | The status flow to apply to the asset once copied. |
Clear()
Clears the collection of assets to be copied.
Declaration
public void Clear()