docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method Run

    Run(IAddressableAssetsBuildContext, ContentUpdateContext)

    Reverts asset entries to their previous state if not modified by the new build.

    Declaration
    public static ReturnCode Run(IAddressableAssetsBuildContext aaBuildContext, ContentUpdateScript.ContentUpdateContext updateContext)
    Parameters
    Type Name Description
    IAddressableAssetsBuildContext aaBuildContext

    The new build data.

    ContentUpdateScript.ContentUpdateContext updateContext

    The cached build data.

    Returns
    Type Description
    ReturnCode

    Returns the success ReturnCode if the content update succeeds.

    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)