docs.unity3d.com
    Show / Hide Table of Contents

    Method RemoveWorldFromCurrentPlayerLoop

    RemoveWorldFromCurrentPlayerLoop(World)

    Remove all of this World's systems from the currently active player loop.

    Declaration
    public static void RemoveWorldFromCurrentPlayerLoop(World world)
    Parameters
    Type Name Description
    World world

    All systems in the current player loop owned by this World will be removed from the player loop.

    Remarks

    This is a convenience wrapper around RemoveWorldToPlayerLoop() that retrieves the current player loop, removes a World's systems from it, and sets the modified copy as the new active player loop.

    Note that modifications to the active player loop do not take effect until to the next iteration through the player loop.

    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