docs.unity3d.com
    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 © 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