docs.unity3d.com
    Show / Hide Table of Contents

    Method AddWorldToCurrentPlayerLoop

    AddWorldToCurrentPlayerLoop(World)

    Add this World's three default top-level system groups to the current Unity player loop.

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

    The three top-level system groups from this World will be added to the provided player loop.

    Remarks

    This is a convenience wrapper around AddWorldToPlayerLoop() that retrieves the current player loop, adds a World's top-level system groups to 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