{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method LoadWorld | Netcode for Entities | 1.1.0-pre.3
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method LoadWorld

    LoadWorld(int, World)

    Loads a stored NetworkDriver and Connection data into a new or existing World.

    Declaration
    public World LoadWorld(int ticket, World newWorld = null)
    Parameters
    Type Name Description
    int ticket

    A ticket to a stored World

    World newWorld

    An optional world we would want to Load into.

    Returns
    Type Description
    World

    A prepared world that is ready to have its systems added.

    Remarks

    This function needs to be called before any systems are initialized on the world we want to migrate to.

    Exceptions
    Type Condition
    ArgumentException

    Is thrown incase a invalid world is supplied. Only Netcode worlds work.

    In This Article
    Back to top
    Copyright © 2023 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)