docs.unity.cn
    Show / Hide Table of Contents

    Method GetSystems

    GetSystems(WorldSystemFilterFlags, WorldSystemFilterFlags)

    Return an array of all System types available to the runtime matching the WorldSystemFilterFlags. By default, all systems available to the runtime is returned. Prefer GetSystemTypeIndices over this to avoid unnecessary reflection.

    Declaration
    public static IReadOnlyList<Type> GetSystems(WorldSystemFilterFlags filterFlags = WorldSystemFilterFlags.All, WorldSystemFilterFlags requiredFlags = (WorldSystemFilterFlags)0U)
    Parameters
    Type Name Description
    WorldSystemFilterFlags filterFlags

    Flags the returned systems can have

    WorldSystemFilterFlags requiredFlags

    Flags the returned systems must have

    Returns
    Type Description
    IReadOnlyList<Type>

    Returns a list of systems meeting the flag requirements provided

    Back to top Copyright © 2023 Unity Technologies — Terms of use
    Generated by DocFX
    on Wednesday, June 21, 2023