docs.unity.cn
    Show / Hide Table of Contents

    Method UpdatePlayerLoop

    UpdatePlayerLoop(World, Nullable<PlayerLoopSystem>)

    Update the player loop with a world's root-level systems

    Declaration
    public static void UpdatePlayerLoop(World world, PlayerLoopSystem? existingPlayerLoop = null)
    Parameters
    Type Name Description
    World world

    World with root-level systems that need insertion into the player loop. These root-level systems will be created if they don't already exist.

    Nullable<PlayerLoopSystem> existingPlayerLoop

    Optional parameter to preserve existing player loops (e.g. PlayerLoop.GetCurrentPlayerLoop())

    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on Friday, May 28, 2021