docs.unity.cn
    Show / Hide Table of Contents

    Method AppendWorldToCurrentPlayerLoop

    AppendWorldToCurrentPlayerLoop(World)

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

    Declaration
    public static void AppendWorldToCurrentPlayerLoop(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
    Generated by DocFX
    on Wednesday, June 21, 2023