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.