docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method AddSystemsToRootLevelSystemGroups

    AddSystemsToRootLevelSystemGroups(World, IEnumerable<Type>)

    Adds the collection of systems to the world by injecting them into the root level system groups (InitializationSystemGroup, SimulationSystemGroup and PresentationSystemGroup). Prefer the version that takes SystemTypeIndex's as an argument to avoid unnecessary reflection.

    Declaration
    public static void AddSystemsToRootLevelSystemGroups(World world, IEnumerable<Type> systemTypes)
    Parameters
    Type Name Description
    World world

    The World in which the root-level system groups should be created.

    IEnumerable<Type> systemTypes

    The system types to create and add.

    AddSystemsToRootLevelSystemGroups(World, IReadOnlyList<Type>)

    Adds the collection of systems to the world by injecting them into the root level system groups (InitializationSystemGroup, SimulationSystemGroup and PresentationSystemGroup). Prefer the version that takes SystemTypeIndex's as an argument to avoid unnecessary reflection.

    Declaration
    public static void AddSystemsToRootLevelSystemGroups(World world, IReadOnlyList<Type> systemTypes)
    Parameters
    Type Name Description
    World world

    The World in which the root-level system groups should be created.

    IReadOnlyList<Type> systemTypes

    The system types to create and add.

    AddSystemsToRootLevelSystemGroups(World, params Type[])

    Adds the collection of systems to the world by injecting them into the root level system groups (InitializationSystemGroup, SimulationSystemGroup and PresentationSystemGroup). Prefer the version that takes SystemTypeIndex's as an argument to avoid unnecessary reflection.

    Declaration
    public static void AddSystemsToRootLevelSystemGroups(World world, params Type[] systemTypes)
    Parameters
    Type Name Description
    World world

    The World in which the root-level system groups should be created.

    Type[] systemTypes

    The system types to create and add.

    AddSystemsToRootLevelSystemGroups(World, NativeList<SystemTypeIndex>)

    Adds the collection of systems to the world by injecting them into the root level system groups (InitializationSystemGroup, SimulationSystemGroup and PresentationSystemGroup). This version avoids unnecessary reflection.

    Declaration
    public static void AddSystemsToRootLevelSystemGroups(World world, NativeList<SystemTypeIndex> systemTypes)
    Parameters
    Type Name Description
    World world

    The World in which the root-level system groups should be created.

    NativeList<SystemTypeIndex> systemTypes

    The system types to create and add.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)