docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Method CopyAndRegisterContentState

    CopyAndRegisterContentState(string, string, AddressablesDataBuilderInput, AddressablesPlayerBuildResult)

    Copies the content state binary file from the temp directory to its final location and registers it in the file registry and build results.

    Declaration
    public virtual void CopyAndRegisterContentState(string tempPath, string contentStatePath, AddressablesDataBuilderInput builderInput, AddressablesPlayerBuildResult addrResult)
    Parameters
    Type Name Description
    string tempPath

    Temporary location of the content state file.

    string contentStatePath

    Destination location of the content state file.

    AddressablesDataBuilderInput builderInput

    The builderInput object used in the build.

    AddressablesPlayerBuildResult addrResult

    The build data result.

    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)