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()) |