Class AssetsToCopyExtensions
Inherited Members
Namespace: Unity.Cloud.Assets
Assembly: Unity.Cloud.Assets.dll
Syntax
public static class AssetsToCopyExtensions
Methods
Add(AssetsToCopy, IAsset, CollectionDescriptor?, StatusFlowDescriptor?)
Adds an asset to be copied.
Declaration
public static void Add(this AssetsToCopy assetsToCopy, IAsset asset, CollectionDescriptor? destinationCollectionDescriptor = null, StatusFlowDescriptor? destinationStatusFlowDescriptor = null)
Parameters
Type | Name | Description |
---|---|---|
AssetsToCopy | assetsToCopy | The builder to update. |
IAsset | asset | The asset to copy. |
CollectionDescriptor? | destinationCollectionDescriptor | The collection path the asset will be copied to. |
StatusFlowDescriptor? | destinationStatusFlowDescriptor | The status flow to apply to the asset once copied. |
Add(AssetsToCopy, AssetDescriptor, CollectionDescriptor?, StatusFlowDescriptor?)
Adds an asset to be copied.
Declaration
public static void Add(this AssetsToCopy assetsToCopy, AssetDescriptor assetDescriptor, CollectionDescriptor? destinationCollectionDescriptor = null, StatusFlowDescriptor? destinationStatusFlowDescriptor = null)
Parameters
Type | Name | Description |
---|---|---|
AssetsToCopy | assetsToCopy | The builder to update. |
AssetDescriptor | assetDescriptor | The descriptor containing identifiers for the asset. |
CollectionDescriptor? | destinationCollectionDescriptor | The collection path the asset will be copied to. |
StatusFlowDescriptor? | destinationStatusFlowDescriptor | The status flow to apply to the asset once copied. |