docs.unity.cn
    Show / Hide Table of Contents

    Method BuildContent

    BuildContent(HashSet<Hash128>, Hash128, BuildTarget, String)

    Builds content for the player. This can be used in conjunction with PublishContent to prepare a content update.

    Declaration
    public static void BuildContent(HashSet<Hash128> subScenes, Hash128 playerGUID, BuildTarget target, string buildFolder)
    Parameters
    Type Name Description
    HashSet<Hash128> subScenes

    The subscenes to include in the build.

    Hash128 playerGUID

    The player guid. This can be provided from DotsGlobalSettings by calling GetClientGUID() or GetServerGUID().

    BuildTarget target

    The build target. activeBuildTarget can be used.

    String buildFolder

    The folder to build the content into.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023