docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AssetsToCopy

    A class that defines collection of asset to be copied.

    Inheritance
    object
    AssetsToCopy
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    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()

    Extension Methods

    AssetsToCopyExtensions.Add(AssetsToCopy, IAsset, CollectionDescriptor?, StatusFlowDescriptor?)
    AssetsToCopyExtensions.Add(AssetsToCopy, AssetDescriptor, CollectionDescriptor?, StatusFlowDescriptor?)
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)