docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method ConstructSystem

    ConstructSystem(Type)

    Construct a System from a Type. Uses the same list in GetSystems(WorldSystemFilterFlags, WorldSystemFilterFlags).

    Declaration
    public static ComponentSystemBase ConstructSystem(Type systemType)
    Parameters
    Type Name Description
    Type systemType

    The system type.

    Returns
    Type Description
    ComponentSystemBase

    Returns the new system.

    ConstructSystem<T>()

    Creates an instance of a system of type T.

    Declaration
    public static T ConstructSystem<T>() where T : ComponentSystemBase
    Returns
    Type Description
    T

    Returns the newly created system instance

    Type Parameters
    Name Description
    T

    System type to create

    ConstructSystem<T>(Type)

    Creates an instance of a system of System.Type.

    Declaration
    public static T ConstructSystem<T>(Type systemType) where T : ComponentSystemBase
    Parameters
    Type Name Description
    Type systemType

    System type to create

    Returns
    Type Description
    T

    Returns the newly created system instance

    Type Parameters
    Name Description
    T

    System type to create

    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)